diff options
Diffstat (limited to 'arch/arm/mach-pxa/corgi_lcd.c')
-rw-r--r-- | arch/arm/mach-pxa/corgi_lcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/corgi_lcd.c b/arch/arm/mach-pxa/corgi_lcd.c index 6dbcaf114ad..d7815491b75 100644 --- a/arch/arm/mach-pxa/corgi_lcd.c +++ b/arch/arm/mach-pxa/corgi_lcd.c | |||
@@ -431,10 +431,10 @@ struct platform_device corgifb_device = { | |||
431 | 431 | ||
432 | #include <asm/arch/pxafb.h> | 432 | #include <asm/arch/pxafb.h> |
433 | 433 | ||
434 | void spitz_lcd_power(int on) | 434 | void spitz_lcd_power(int on, struct fb_var_screeninfo *var) |
435 | { | 435 | { |
436 | if (on) | 436 | if (on) |
437 | lcdtg_hw_init(480); | 437 | lcdtg_hw_init(var->xres); |
438 | else | 438 | else |
439 | lcdtg_suspend(); | 439 | lcdtg_suspend(); |
440 | } | 440 | } |