[alsa-devel] [PATCH] sound: fix oss/msnd_pinnacle module param type

Randy Dunlap rdunlap at xenotime.net
Thu Mar 29 03:26:13 CEST 2012


From: Randy Dunlap <rdunlap at xenotime.net>

Fix module parameter data type to eliminate build warning.

sound/oss/msnd_pinnacle.c:1727:1: warning: return from incompatible pointer type

Signed-off-by: Randy Dunlap <rdunlap at xenotime.net>
---
 sound/oss/msnd_pinnacle.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20120328.orig/sound/oss/msnd_pinnacle.c
+++ linux-next-20120328/sound/oss/msnd_pinnacle.c
@@ -1631,7 +1631,7 @@ static int ide_irq __initdata = 0;
 static int joystick_io __initdata = 0;
 
 /* If we have the digital daugherboard... */
-static int digital __initdata = 0;
+static bool digital __initdata = false;
 #endif
 
 static int fifosize __initdata =	DEFFIFOSIZE;


More information about the Alsa-devel mailing list