summaryrefslogtreecommitdiff
path: root/drivers/parport
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-03-04 22:57:30 +0300
committerHelge Deller <deller@gmx.de>2018-03-27 19:52:21 +0300
commitc92826ef5a23422d36fb3dbe685e9215119eadc7 (patch)
treef6ac18abfc7435daa862e50c30b53b47851b47ba /drivers/parport
parent8ce7ad780d80d7df119a1985606a7ae9fe6b00ff (diff)
downloadlinux-c92826ef5a23422d36fb3dbe685e9215119eadc7.tar.xz
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;