diff options
Diffstat (limited to 'sound/drivers/ml403-ac97cr.c')
-rw-r--r-- | sound/drivers/ml403-ac97cr.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c index 2ee82c5d9ee5..6c83b1aed288 100644 --- a/sound/drivers/ml403-ac97cr.c +++ b/sound/drivers/ml403-ac97cr.c | |||
@@ -73,7 +73,7 @@ MODULE_SUPPORTED_DEVICE("{{Xilinx,ML403 AC97 Controller Reference}}"); | |||
73 | 73 | ||
74 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; | 74 | static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; |
75 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; | 75 | static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; |
76 | static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; | 76 | static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; |
77 | 77 | ||
78 | module_param_array(index, int, NULL, 0444); | 78 | module_param_array(index, int, NULL, 0444); |
79 | MODULE_PARM_DESC(index, "Index value for ML403 AC97 Controller Reference."); | 79 | MODULE_PARM_DESC(index, "Index value for ML403 AC97 Controller Reference."); |
@@ -1341,15 +1341,4 @@ static struct platform_driver snd_ml403_ac97cr_driver = { | |||
1341 | }, | 1341 | }, |
1342 | }; | 1342 | }; |
1343 | 1343 | ||
1344 | static int __init alsa_card_ml403_ac97cr_init(void) | 1344 | module_platform_driver(snd_ml403_ac97cr_driver); |
1345 | { | ||
1346 | return platform_driver_register(&snd_ml403_ac97cr_driver); | ||
1347 | } | ||
1348 | |||
1349 | static void __exit alsa_card_ml403_ac97cr_exit(void) | ||
1350 | { | ||
1351 | platform_driver_unregister(&snd_ml403_ac97cr_driver); | ||
1352 | } | ||
1353 | |||
1354 | module_init(alsa_card_ml403_ac97cr_init) | ||
1355 | module_exit(alsa_card_ml403_ac97cr_exit) | ||