diff options
Diffstat (limited to 'arch/arm/mach-pxa/poodle.c')
-rw-r--r-- | arch/arm/mach-pxa/poodle.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 6dbff6d94801..5e8c098ca139 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-pxa/poodle.c | |||
@@ -296,27 +296,25 @@ static struct pxa2xx_udc_mach_info udc_info __initdata = { | |||
296 | 296 | ||
297 | 297 | ||
298 | /* PXAFB device */ | 298 | /* PXAFB device */ |
299 | static struct pxafb_mach_info poodle_fb_info __initdata = { | 299 | static struct pxafb_mode_info poodle_fb_mode = { |
300 | .pixclock = 144700, | 300 | .pixclock = 144700, |
301 | |||
302 | .xres = 320, | 301 | .xres = 320, |
303 | .yres = 240, | 302 | .yres = 240, |
304 | .bpp = 16, | 303 | .bpp = 16, |
305 | |||
306 | .hsync_len = 7, | 304 | .hsync_len = 7, |
307 | .left_margin = 11, | 305 | .left_margin = 11, |
308 | .right_margin = 30, | 306 | .right_margin = 30, |
309 | |||
310 | .vsync_len = 2, | 307 | .vsync_len = 2, |
311 | .upper_margin = 2, | 308 | .upper_margin = 2, |
312 | .lower_margin = 0, | 309 | .lower_margin = 0, |
313 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 310 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
311 | }; | ||
314 | 312 | ||
313 | static struct pxafb_mach_info poodle_fb_info = { | ||
314 | .modes = &poodle_fb_mode, | ||
315 | .num_modes = 1, | ||
315 | .lccr0 = LCCR0_Act | LCCR0_Sngl | LCCR0_Color, | 316 | .lccr0 = LCCR0_Act | LCCR0_Sngl | LCCR0_Color, |
316 | .lccr3 = 0, | 317 | .lccr3 = 0, |
317 | |||
318 | .pxafb_backlight_power = NULL, | ||
319 | .pxafb_lcd_power = NULL, | ||
320 | }; | 318 | }; |
321 | 319 | ||
322 | static struct platform_device *devices[] __initdata = { | 320 | static struct platform_device *devices[] __initdata = { |