]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix warnings in lcd_palmz71
authorDirk Behme <dirk.behme_at_gmail.com>
Tue, 9 Jan 2007 23:30:07 +0000 (15:30 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 9 Jan 2007 23:30:07 +0000 (15:30 -0800)
ARM: OMAP: Fix warnings in lcd_palmz71.c about
"initialization from incompatible pointer type". Minor
formatting fix.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/lcd_palmz71.c

index 797ab68c4dccda5678c218bdfa6dd1d2cfc26e0c..892993f3fd0717b81af6e49cce35a5e0dafe5ad1 100644 (file)
 #include <asm/arch/gpio.h>
 #include <asm/arch/omapfb.h>
 
-static int palmz71_panel_init(struct omapfb_device *panel)
+static int palmz71_panel_init(struct lcd_panel *panel,
+                             struct omapfb_device *fbdev)
 {
        return 0;
 }
 
-static void palmz71_panel_cleanup(void)
+static void palmz71_panel_cleanup(struct lcd_panel *panel)
 {
 
 }
 
-static int palmz71_panel_enable(void)
+static int palmz71_panel_enable(struct lcd_panel *panel)
 {
        return 0;
 }
 
-static void palmz71_panel_disable(void)
+static void palmz71_panel_disable(struct lcd_panel *panel)
 {
 }
 
-static unsigned long palmz71_panel_get_caps(void)
+static unsigned long palmz71_panel_get_caps(struct lcd_panel *panel)
 {
-return OMAPFB_CAPS_SET_BACKLIGHT;
+       return OMAPFB_CAPS_SET_BACKLIGHT;
 }
 
 struct lcd_panel palmz71_panel = {