Skip to content

Commit

Permalink
parisc/parport_gsc: Use NULL to avoid sparse warning
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <[email protected]>
  • Loading branch information
hdeller committed Mar 27, 2018
1 parent 8ce7ad7 commit c92826e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/parport/parport_gsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c92826e

Please sign in to comment.