]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: Fix lcd_ams_delta to use new PWL defines
authorJonathan McDowell <noodles@earth.li>
Mon, 7 Aug 2006 07:38:33 +0000 (10:38 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Aug 2006 07:38:33 +0000 (10:38 +0300)
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 <noodles@earth.li>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/lcd_ams_delta.c

index 2ad3318318b66a51a8b3e7f858f678dc0b15bb7f..3476689467d3033c7e66099f5cc98e5cf15d075b 100644 (file)
@@ -29,7 +29,7 @@
 #include <asm/io.h>
 
 #include <asm/arch/board-ams-delta.h>
-#include <asm/arch/omap16xx.h>
+#include <asm/arch/hardware.h>
 #include <asm/arch/omapfb.h>
 
 #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;
 }