aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/em-x270.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/em-x270.c')
-rw-r--r--arch/arm/mach-pxa/em-x270.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c
index 1269ac99150..e23865affc0 100644
--- a/arch/arm/mach-pxa/em-x270.c
+++ b/arch/arm/mach-pxa/em-x270.c
@@ -25,6 +25,7 @@
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> 27#include <asm/arch/pxa27x-udc.h>
28#include <asm/arch/audio.h>
28#include <asm/arch/pxafb.h> 29#include <asm/arch/pxafb.h>
29#include <asm/arch/ohci.h> 30#include <asm/arch/ohci.h>
30#include <asm/arch/mmc.h> 31#include <asm/arch/mmc.h>
@@ -73,12 +74,6 @@ static struct platform_device em_x270_dm9k = {
73 } 74 }
74}; 75};
75 76
76/* audio device */
77static struct platform_device em_x270_audio = {
78 .name = "pxa2xx-ac97",
79 .id = -1,
80};
81
82/* WM9712 touchscreen controller. Hopefully the driver will make it to 77/* WM9712 touchscreen controller. Hopefully the driver will make it to
83 * the mainstream sometime */ 78 * the mainstream sometime */
84static struct platform_device em_x270_ts = { 79static struct platform_device em_x270_ts = {
@@ -218,7 +213,6 @@ static struct platform_device em_x270_nand = {
218/* platform devices */ 213/* platform devices */
219static struct platform_device *platform_devices[] __initdata = { 214static struct platform_device *platform_devices[] __initdata = {
220 &em_x270_dm9k, 215 &em_x270_dm9k,
221 &em_x270_audio,
222 &em_x270_ts, 216 &em_x270_ts,
223 &em_x270_rtc, 217 &em_x270_rtc,
224 &em_x270_nand, 218 &em_x270_nand,
@@ -326,6 +320,7 @@ static void __init em_x270_init(void)
326 320
327 /* register EM-X270 platform devices */ 321 /* register EM-X270 platform devices */
328 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);
329 324
330 /* set MCI and OHCI platform parameters */ 325 /* set MCI and OHCI platform parameters */
331 pxa_set_mci_info(&em_x270_mci_platform_data); 326 pxa_set_mci_info(&em_x270_mci_platform_data);