lkml.org 
[lkml]   [2012]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] sound: fix oss/msnd_pinnacle module param type
From: Randy Dunlap <rdunlap@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@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;

\
 
 \ /
  Last update: 2012-03-29 03:29    [W:0.953 / U:1.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site