From: Dirk Behme Date: Tue, 9 Jan 2007 23:30:07 +0000 (-0800) Subject: ARM: OMAP: Fix warnings in lcd_palmz71 X-Git-Tag: v2.6.21-omap1~171 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0d7f15efe254e1f6e86c200b27ffb070d8d3a4d7;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix warnings in lcd_palmz71 ARM: OMAP: Fix warnings in lcd_palmz71.c about "initialization from incompatible pointer type". Minor formatting fix. Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- diff --git a/drivers/video/omap/lcd_palmz71.c b/drivers/video/omap/lcd_palmz71.c index 797ab68c4dc..892993f3fd0 100644 --- a/drivers/video/omap/lcd_palmz71.c +++ b/drivers/video/omap/lcd_palmz71.c @@ -30,28 +30,29 @@ #include #include -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 = {