diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-03-28 21:26:17 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-03-29 11:57:08 -0400 |
commit | c578ae0026da81a589245ee08e0fd1b1d8a55f4e (patch) | |
tree | 9ce4d48fb6b4cc49b90b4cd910a0f831ff902d9f | |
parent | ec99aaf47963eaa8615b8508c634be4a178f1c88 (diff) |
ALSA: fix isa/opti9xx module param type
Fix module parameter data type to eliminate build warnings.
sound/isa/opti9xx/opti92x-ad1848.c:87:1: warning: return from incompatible pointer type
sound/isa/opti9xx/opti92x-ad1848.c:87:1: warning: return from incompatible pointer type
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index babaedd242f7..d7ccf28bd66a 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -65,7 +65,7 @@ static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ | |||
65 | static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ | 65 | static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ |
66 | //static bool enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */ | 66 | //static bool enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */ |
67 | #ifdef CONFIG_PNP | 67 | #ifdef CONFIG_PNP |
68 | static int isapnp = 1; /* Enable ISA PnP detection */ | 68 | static bool isapnp = true; /* Enable ISA PnP detection */ |
69 | #endif | 69 | #endif |
70 | static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */ | 70 | static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */ |
71 | static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ | 71 | static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ |