summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-03-04 20:57:30 +0100
committerHelge Deller <deller@gmx.de>2018-03-27 18:52:21 +0200
commitc92826ef5a23422d36fb3dbe685e9215119eadc7 (patch)
treef6ac18abfc7435daa862e50c30b53b47851b47ba /drivers/parport
parentparisc/stifb: Use fb_memset() to avoid sparse warning (diff)
downloadlinux-c92826ef5a23422d36fb3dbe685e9215119eadc7.tar.xz
linux-c92826ef5a23422d36fb3dbe685e9215119eadc7.zip
parisc/parport_gsc: Use NULL to avoid sparse warning
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/parport_gsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c
index 5f710aaaf3da..190c0a7a1c52 100644
--- a/drivers/parport/parport_gsc.c
+++ b/drivers/parport/parport_gsc.c
@@ -256,7 +256,7 @@ struct parport *parport_gsc_probe_port(unsigned long base,
}
priv->ctr = 0xc;
priv->ctr_writable = 0xff;
- priv->dma_buf = 0;
+ priv->dma_buf = NULL;
priv->dma_handle = 0;
p->base = base;
p->base_hi = base_hi;