diff options
Diffstat (limited to 'arch/arm/mach-pxa/em-x270.c')
-rw-r--r-- | arch/arm/mach-pxa/em-x270.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index 9c57700ee5c2..1bf680749928 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c | |||
@@ -24,6 +24,8 @@ | |||
24 | 24 | ||
25 | #include <asm/arch/pxa-regs.h> | 25 | #include <asm/arch/pxa-regs.h> |
26 | #include <asm/arch/pxa2xx-gpio.h> | 26 | #include <asm/arch/pxa2xx-gpio.h> |
27 | #include <asm/arch/pxa27x-udc.h> | ||
28 | #include <asm/arch/audio.h> | ||
27 | #include <asm/arch/pxafb.h> | 29 | #include <asm/arch/pxafb.h> |
28 | #include <asm/arch/ohci.h> | 30 | #include <asm/arch/ohci.h> |
29 | #include <asm/arch/mmc.h> | 31 | #include <asm/arch/mmc.h> |
@@ -72,12 +74,6 @@ static struct platform_device em_x270_dm9k = { | |||
72 | } | 74 | } |
73 | }; | 75 | }; |
74 | 76 | ||
75 | /* audio device */ | ||
76 | static struct platform_device em_x270_audio = { | ||
77 | .name = "pxa2xx-ac97", | ||
78 | .id = -1, | ||
79 | }; | ||
80 | |||
81 | /* WM9712 touchscreen controller. Hopefully the driver will make it to | 77 | /* WM9712 touchscreen controller. Hopefully the driver will make it to |
82 | * the mainstream sometime */ | 78 | * the mainstream sometime */ |
83 | static struct platform_device em_x270_ts = { | 79 | static struct platform_device em_x270_ts = { |
@@ -217,7 +213,6 @@ static struct platform_device em_x270_nand = { | |||
217 | /* platform devices */ | 213 | /* platform devices */ |
218 | static struct platform_device *platform_devices[] __initdata = { | 214 | static struct platform_device *platform_devices[] __initdata = { |
219 | &em_x270_dm9k, | 215 | &em_x270_dm9k, |
220 | &em_x270_audio, | ||
221 | &em_x270_ts, | 216 | &em_x270_ts, |
222 | &em_x270_rtc, | 217 | &em_x270_rtc, |
223 | &em_x270_nand, | 218 | &em_x270_nand, |
@@ -325,6 +320,7 @@ static void __init em_x270_init(void) | |||
325 | 320 | ||
326 | /* register EM-X270 platform devices */ | 321 | /* register EM-X270 platform devices */ |
327 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | 322 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); |
323 | pxa_set_ac97_info(NULL); | ||
328 | 324 | ||
329 | /* set MCI and OHCI platform parameters */ | 325 | /* set MCI and OHCI platform parameters */ |
330 | pxa_set_mci_info(&em_x270_mci_platform_data); | 326 | pxa_set_mci_info(&em_x270_mci_platform_data); |