From: Jonathan McDowell Date: Mon, 7 Aug 2006 07:38:33 +0000 (+0300) Subject: [PATCH] ARM: OMAP: Fix lcd_ams_delta to use new PWL defines X-Git-Tag: v2.6.17-omap2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=67286e7ea1a2b8b27693fe4c56308e0e4464a9d9;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: Fix lcd_ams_delta to use new PWL defines The attached is necessary to move the Amstrad Delta LCD driver over to the new PWL defines that have been pushed. Signed-off-by: Jonathan McDowell Signed-off-by: Tony Lindgren --- diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c index 2ad3318318b..3476689467d 100644 --- a/drivers/video/omap/lcd_ams_delta.c +++ b/drivers/video/omap/lcd_ams_delta.c @@ -29,7 +29,7 @@ #include #include -#include +#include #include #define AMS_DELTA_DEFAULT_CONTRAST 112 @@ -51,8 +51,8 @@ static int ams_delta_panel_enable(struct lcd_panel *panel) ams_delta_latch2_write(AMS_DELTA_LATCH2_LCD_VBLEN, AMS_DELTA_LATCH2_LCD_VBLEN); - omap_writeb(1, OMAP16XX_PWL_CLK_ENABLE); - omap_writeb(AMS_DELTA_DEFAULT_CONTRAST, OMAP16XX_PWL_ENABLE); + omap_writeb(1, OMAP_PWL_CLK_ENABLE); + omap_writeb(AMS_DELTA_DEFAULT_CONTRAST, OMAP_PWL_ENABLE); return 0; }