From: Kevin Hilman Date: Wed, 6 Jun 2007 01:00:33 +0000 (-0700) Subject: ARM: OMAP: 2430SDP: minor fixups for fb driver X-Git-Tag: v2.6.22-omap1~58 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0e13579c36d9845abdda58993e38106f15ac414d;p=linux-2.6-omap-h63xx.git ARM: OMAP: 2430SDP: minor fixups for fb driver Remove redundant #defines Fix LCD pixelclock to 5.4 MHz Signed-off-by: Hunyue Yau Signed-off-by: Kevin Hilman Signed-off-by: Tony Lindgren --- diff --git a/drivers/video/omap/lcd_2430sdp.c b/drivers/video/omap/lcd_2430sdp.c index 0c50d10f966..6e5b6039414 100644 --- a/drivers/video/omap/lcd_2430sdp.c +++ b/drivers/video/omap/lcd_2430sdp.c @@ -31,14 +31,10 @@ #define LCD_PANEL_BACKLIGHT_GPIO 91 #define LCD_PANEL_ENABLE_GPIO 154 -#define H4_LCD_PIXCLOCK_MAX 185186 /* freq 5.4 MHz */ +#define LCD_PIXCLOCK_MAX 5400 /* freq 5.4 MHz */ #define PM_RECEIVER TWL4030_MODULE_PM_RECIEVER #define ENABLE_VAUX2_DEDICATED 0x09 #define ENABLE_VAUX2_DEV_GRP 0x20 -#define TWL4030_VAUX2_DEV_GRP 0x1B -#define TWL4030_VAUX2_DEDICATED 0x1E -#define TWL4030_MODULE_PM_RECIEVER 0x13 - #define t2_out(c, r, v) twl4030_i2c_write_u8(c, r, v) @@ -99,7 +95,7 @@ struct lcd_panel sdp2430_panel = { .vfp = 2, /* lower_margin */ .vbp = 7, /* upper_margin (8) - 1 */ - .pixel_clock = H4_LCD_PIXCLOCK_MAX, + .pixel_clock = LCD_PIXCLOCK_MAX, .init = sdp2430_panel_init, .cleanup = sdp2430_panel_cleanup,