diff options
Diffstat (limited to 'arch/arm/mach-pxa/lpd270.c')
-rw-r--r-- | arch/arm/mach-pxa/lpd270.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/lpd270.c b/arch/arm/mach-pxa/lpd270.c index 183b587672a6..cc1c4fa06145 100644 --- a/arch/arm/mach-pxa/lpd270.c +++ b/arch/arm/mach-pxa/lpd270.c | |||
@@ -168,11 +168,6 @@ static struct platform_device smc91x_device = { | |||
168 | .resource = smc91x_resources, | 168 | .resource = smc91x_resources, |
169 | }; | 169 | }; |
170 | 170 | ||
171 | static struct platform_device lpd270_audio_device = { | ||
172 | .name = "pxa2xx-ac97", | ||
173 | .id = -1, | ||
174 | }; | ||
175 | |||
176 | static struct resource lpd270_flash_resources[] = { | 171 | static struct resource lpd270_flash_resources[] = { |
177 | [0] = { | 172 | [0] = { |
178 | .start = PXA_CS0_PHYS, | 173 | .start = PXA_CS0_PHYS, |
@@ -412,7 +407,6 @@ __setup("lcd=", lpd270_set_lcd); | |||
412 | static struct platform_device *platform_devices[] __initdata = { | 407 | static struct platform_device *platform_devices[] __initdata = { |
413 | &smc91x_device, | 408 | &smc91x_device, |
414 | &lpd270_backlight_device, | 409 | &lpd270_backlight_device, |
415 | &lpd270_audio_device, | ||
416 | &lpd270_flash_device[0], | 410 | &lpd270_flash_device[0], |
417 | &lpd270_flash_device[1], | 411 | &lpd270_flash_device[1], |
418 | }; | 412 | }; |
@@ -456,6 +450,8 @@ static void __init lpd270_init(void) | |||
456 | 450 | ||
457 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | 451 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); |
458 | 452 | ||
453 | pxa_set_ac97_info(NULL); | ||
454 | |||
459 | if (lpd270_lcd_to_use != NULL) | 455 | if (lpd270_lcd_to_use != NULL) |
460 | set_pxa_fb_info(lpd270_lcd_to_use); | 456 | set_pxa_fb_info(lpd270_lcd_to_use); |
461 | 457 | ||