aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/db1000.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/au1x/db1000.c')
-rw-r--r--sound/soc/au1x/db1000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/au1x/db1000.c b/sound/soc/au1x/db1000.c
index 511d83c11a9a..376d976bcc2d 100644
--- a/sound/soc/au1x/db1000.c
+++ b/sound/soc/au1x/db1000.c
@@ -34,14 +34,14 @@ static struct snd_soc_card db1000_ac97 = {
34 .num_links = 1, 34 .num_links = 1,
35}; 35};
36 36
37static int __devinit db1000_audio_probe(struct platform_device *pdev) 37static int db1000_audio_probe(struct platform_device *pdev)
38{ 38{
39 struct snd_soc_card *card = &db1000_ac97; 39 struct snd_soc_card *card = &db1000_ac97;
40 card->dev = &pdev->dev; 40 card->dev = &pdev->dev;
41 return snd_soc_register_card(card); 41 return snd_soc_register_card(card);
42} 42}
43 43
44static int __devexit db1000_audio_remove(struct platform_device *pdev) 44static int db1000_audio_remove(struct platform_device *pdev)
45{ 45{
46 struct snd_soc_card *card = platform_get_drvdata(pdev); 46 struct snd_soc_card *card = platform_get_drvdata(pdev);
47 snd_soc_unregister_card(card); 47 snd_soc_unregister_card(card);
@@ -55,7 +55,7 @@ static struct platform_driver db1000_audio_driver = {
55 .pm = &snd_soc_pm_ops, 55 .pm = &snd_soc_pm_ops,
56 }, 56 },
57 .probe = db1000_audio_probe, 57 .probe = db1000_audio_probe,
58 .remove = __devexit_p(db1000_audio_remove), 58 .remove = db1000_audio_remove,
59}; 59};
60 60
61module_platform_driver(db1000_audio_driver); 61module_platform_driver(db1000_audio_driver);