aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sound/arm')
-rw-r--r--sound/arm/aaci.c13
-rw-r--r--sound/arm/pxa2xx-ac97-lib.c3
-rw-r--r--sound/arm/pxa2xx-ac97.c1
3 files changed, 4 insertions, 13 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index b37b702a3a6a..5119fdabcb98 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -1110,18 +1110,7 @@ static struct amba_driver aaci_driver = {
1110 .id_table = aaci_ids, 1110 .id_table = aaci_ids,
1111}; 1111};
1112 1112
1113static int __init aaci_init(void) 1113module_amba_driver(aaci_driver);
1114{
1115 return amba_driver_register(&aaci_driver);
1116}
1117
1118static void __exit aaci_exit(void)
1119{
1120 amba_driver_unregister(&aaci_driver);
1121}
1122
1123module_init(aaci_init);
1124module_exit(aaci_exit);
1125 1114
1126MODULE_LICENSE("GPL"); 1115MODULE_LICENSE("GPL");
1127MODULE_DESCRIPTION("ARM PrimeCell PL041 Advanced Audio CODEC Interface driver"); 1116MODULE_DESCRIPTION("ARM PrimeCell PL041 Advanced Audio CODEC Interface driver");
diff --git a/sound/arm/pxa2xx-ac97-lib.c b/sound/arm/pxa2xx-ac97-lib.c
index d1aa4218f129..48d7c0aa5073 100644
--- a/sound/arm/pxa2xx-ac97-lib.c
+++ b/sound/arm/pxa2xx-ac97-lib.c
@@ -17,11 +17,12 @@
17#include <linux/clk.h> 17#include <linux/clk.h>
18#include <linux/delay.h> 18#include <linux/delay.h>
19#include <linux/module.h> 19#include <linux/module.h>
20#include <linux/io.h>
20 21
21#include <sound/ac97_codec.h> 22#include <sound/ac97_codec.h>
22#include <sound/pxa2xx-lib.h> 23#include <sound/pxa2xx-lib.h>
23 24
24#include <asm/irq.h> 25#include <mach/irqs.h>
25#include <mach/regs-ac97.h> 26#include <mach/regs-ac97.h>
26#include <mach/audio.h> 27#include <mach/audio.h>
27 28
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c
index 3a39626a82d6..afef72c4f0d3 100644
--- a/sound/arm/pxa2xx-ac97.c
+++ b/sound/arm/pxa2xx-ac97.c
@@ -11,6 +11,7 @@
11 */ 11 */
12 12
13#include <linux/init.h> 13#include <linux/init.h>
14#include <linux/io.h>
14#include <linux/module.h> 15#include <linux/module.h>
15#include <linux/platform_device.h> 16#include <linux/platform_device.h>
16 17