Skip to content

Commit c578ae0

Browse files
rddunlaptiwai
authored andcommitted
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>
1 parent ec99aaf commit c578ae0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/isa/opti9xx/opti92x-ad1848.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */
6565
static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */
6666
//static bool enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */
6767
#ifdef CONFIG_PNP
68-
static int isapnp = 1; /* Enable ISA PnP detection */
68+
static bool isapnp = true; /* Enable ISA PnP detection */
6969
#endif
7070
static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */
7171
static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */

0 commit comments

Comments
 (0)