aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers/ml403-ac97cr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/drivers/ml403-ac97cr.c')
-rw-r--r--sound/drivers/ml403-ac97cr.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c
index 2ee82c5d9ee..6c83b1aed28 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
74static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; 74static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
75static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; 75static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
76static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; 76static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE;
77 77
78module_param_array(index, int, NULL, 0444); 78module_param_array(index, int, NULL, 0444);
79MODULE_PARM_DESC(index, "Index value for ML403 AC97 Controller Reference."); 79MODULE_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
1344static int __init alsa_card_ml403_ac97cr_init(void) 1344module_platform_driver(snd_ml403_ac97cr_driver);
1345{
1346 return platform_driver_register(&snd_ml403_ac97cr_driver);
1347}
1348
1349static void __exit alsa_card_ml403_ac97cr_exit(void)
1350{
1351 platform_driver_unregister(&snd_ml403_ac97cr_driver);
1352}
1353
1354module_init(alsa_card_ml403_ac97cr_init)
1355module_exit(alsa_card_ml403_ac97cr_exit)