als4000 joystic problem with 2.6.3
I have als4000 sound card and when i run kernel 2.6.3 and try to load snd-als4000 module it says:snd_als4000: falsely claims to have parameter joystick_port
A have not configured CONFIG_GAMEPORT
I think this happens because there are not #ifdef SUPPORT_JOYSTICK
...
#endif
in als4000.c when module params are declared. I attached a patch
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
sound/pci/als4000.c +2 -0
@@ -99,9 +99,11 @@ MODULE_PARM(enable, "1-" __MODULE_STRING(SNDRV_CARDS) "i");MODULE_PARM_DESC (enable,"Enable ALS4000 soundcard." );MODULE_PARM_SYNTAX (enable,SNDRV_INDEX_DESC ); +#ifdef SUPPORT_JOYSTICK MODULE_PARM(joystick_port, "1-" __MODULE_STRING(SNDRV_CARDS) "i");MODULE_PARM_DESC (joystick_port,"Joystick port address for ALS4000 soundcard. (0 = disabled)" );MODULE_PARM_SYNTAX (joystick_port,SNDRV_ENABLED ); +#endif #define chip_t sb_t