Commit 67286e7e authored by Jonathan McDowell's avatar Jonathan McDowell Committed by Tony Lindgren

[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: default avatarJonathan McDowell <noodles@earth.li>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5757cc04
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/board-ams-delta.h> #include <asm/arch/board-ams-delta.h>
#include <asm/arch/omap16xx.h> #include <asm/arch/hardware.h>
#include <asm/arch/omapfb.h> #include <asm/arch/omapfb.h>
#define AMS_DELTA_DEFAULT_CONTRAST 112 #define AMS_DELTA_DEFAULT_CONTRAST 112
...@@ -51,8 +51,8 @@ static int ams_delta_panel_enable(struct lcd_panel *panel) ...@@ -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_write(AMS_DELTA_LATCH2_LCD_VBLEN,
AMS_DELTA_LATCH2_LCD_VBLEN); AMS_DELTA_LATCH2_LCD_VBLEN);
omap_writeb(1, OMAP16XX_PWL_CLK_ENABLE); omap_writeb(1, OMAP_PWL_CLK_ENABLE);
omap_writeb(AMS_DELTA_DEFAULT_CONTRAST, OMAP16XX_PWL_ENABLE); omap_writeb(AMS_DELTA_DEFAULT_CONTRAST, OMAP_PWL_ENABLE);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment