summaryrefslogtreecommitdiff
path: root/sound/isa/msnd
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-07-25 23:00:50 +0200
committerTakashi Iwai <tiwai@suse.de>2018-07-26 08:31:33 +0200
commitdcda6f7853c52c42d242b474bfbd1d17d02c8870 (patch)
tree00e838db1529a96843b81cbff201ae50b7f20127 /sound/isa/msnd
parentbb86124c80780d9d2a2d9bef7f0840e61007ebb7 (diff)
downloadlwn-dcda6f7853c52c42d242b474bfbd1d17d02c8870.tar.gz
lwn-dcda6f7853c52c42d242b474bfbd1d17d02c8870.zip
ALSA: msnd: Use NULL instead of 0
Fix a sparse warning: sound/isa/msnd/msnd_pinnacle.c:813:1: warning: Using plain integer as NULL pointer Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/msnd')
-rw-r--r--sound/isa/msnd/msnd_pinnacle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/msnd/msnd_pinnacle.c b/sound/isa/msnd/msnd_pinnacle.c
index 7e3f52c8a6c6..11af9c40bc05 100644
--- a/sound/isa/msnd/msnd_pinnacle.c
+++ b/sound/isa/msnd/msnd_pinnacle.c
@@ -810,7 +810,7 @@ module_param(calibrate_signal, int, 0444);
#ifndef MSND_CLASSIC
module_param_array(digital, int, NULL, 0444);
module_param_hw_array(cfg, long, ioport, NULL, 0444);
-module_param_array(reset, int, 0, 0444);
+module_param_array(reset, int, NULL, 0444);
module_param_hw_array(mpu_io, long, ioport, NULL, 0444);
module_param_hw_array(mpu_irq, int, irq, NULL, 0444);
module_param_hw_array(ide_io0, long, ioport, NULL, 0444);