diff options
Diffstat (limited to 'sound/arm')
-rw-r--r-- | sound/arm/aaci.h | 4 | ||||
-rw-r--r-- | sound/arm/pxa2xx-ac97.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sound/arm/aaci.h b/sound/arm/aaci.h index 788c24afaf9f..924f69c1c44c 100644 --- a/sound/arm/aaci.h +++ b/sound/arm/aaci.h | |||
@@ -228,8 +228,8 @@ struct aaci { | |||
228 | 228 | ||
229 | /* AC'97 */ | 229 | /* AC'97 */ |
230 | struct mutex ac97_sem; | 230 | struct mutex ac97_sem; |
231 | ac97_bus_t *ac97_bus; | 231 | struct snd_ac97_bus *ac97_bus; |
232 | ac97_t *ac97; | 232 | struct snd_ac97 *ac97; |
233 | 233 | ||
234 | u32 maincr; | 234 | u32 maincr; |
235 | spinlock_t lock; | 235 | spinlock_t lock; |
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c index dede954b2c65..28db4be7a16f 100644 --- a/sound/arm/pxa2xx-ac97.c +++ b/sound/arm/pxa2xx-ac97.c | |||
@@ -305,7 +305,7 @@ static int pxa2xx_ac97_resume(struct platform_device *dev) | |||
305 | #define pxa2xx_ac97_resume NULL | 305 | #define pxa2xx_ac97_resume NULL |
306 | #endif | 306 | #endif |
307 | 307 | ||
308 | static int pxa2xx_ac97_probe(struct platform_device *dev) | 308 | static int __devinit pxa2xx_ac97_probe(struct platform_device *dev) |
309 | { | 309 | { |
310 | struct snd_card *card; | 310 | struct snd_card *card; |
311 | struct snd_ac97_bus *ac97_bus; | 311 | struct snd_ac97_bus *ac97_bus; |
@@ -369,7 +369,7 @@ static int pxa2xx_ac97_probe(struct platform_device *dev) | |||
369 | return ret; | 369 | return ret; |
370 | } | 370 | } |
371 | 371 | ||
372 | static int pxa2xx_ac97_remove(struct platform_device *dev) | 372 | static int __devexit pxa2xx_ac97_remove(struct platform_device *dev) |
373 | { | 373 | { |
374 | struct snd_card *card = platform_get_drvdata(dev); | 374 | struct snd_card *card = platform_get_drvdata(dev); |
375 | 375 | ||
@@ -386,7 +386,7 @@ static int pxa2xx_ac97_remove(struct platform_device *dev) | |||
386 | 386 | ||
387 | static struct platform_driver pxa2xx_ac97_driver = { | 387 | static struct platform_driver pxa2xx_ac97_driver = { |
388 | .probe = pxa2xx_ac97_probe, | 388 | .probe = pxa2xx_ac97_probe, |
389 | .remove = pxa2xx_ac97_remove, | 389 | .remove = __devexit_p(pxa2xx_ac97_remove), |
390 | .suspend = pxa2xx_ac97_suspend, | 390 | .suspend = pxa2xx_ac97_suspend, |
391 | .resume = pxa2xx_ac97_resume, | 391 | .resume = pxa2xx_ac97_resume, |
392 | .driver = { | 392 | .driver = { |