diff options
author | Helge Deller <deller@gmx.de> | 2018-03-04 20:57:30 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-03-27 18:52:21 +0200 |
commit | c92826ef5a23422d36fb3dbe685e9215119eadc7 (patch) | |
tree | f6ac18abfc7435daa862e50c30b53b47851b47ba | |
parent | 8ce7ad780d80d7df119a1985606a7ae9fe6b00ff (diff) | |
download | linux-rpi3-c92826ef5a23422d36fb3dbe685e9215119eadc7.tar.gz linux-rpi3-c92826ef5a23422d36fb3dbe685e9215119eadc7.tar.bz2 linux-rpi3-c92826ef5a23422d36fb3dbe685e9215119eadc7.zip |
parisc/parport_gsc: Use NULL to avoid sparse warning
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | drivers/parport/parport_gsc.c | 2 |
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; |