From 67286e7ea1a2b8b27693fe4c56308e0e4464a9d9 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 7 Aug 2006 10:38:33 +0300 Subject: [PATCH] [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 --- drivers/video/omap/lcd_ams_delta.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.41.1