Commit 8f674793 authored by andrzej zaborowski's avatar andrzej zaborowski Committed by Tony Lindgren

[PATCH] ARM: OMAP: Fix palmte lcd warnings

Fix build warning from lcd panel source as noted by Komal Shah:

...
-c -o drivers/video/omap/lcd_palmte.o drivers/video/omap/lcd_palmte.c
drivers/video/omap/lcd_palmte.c:86: warning: initialization from
incompatible pointer type
drivers/video/omap/lcd_palmte.c:87: warning: initialization from
incompatible pointer type
drivers/video/omap/lcd_palmte.c:88: warning: initialization from
incompatible pointer type
drivers/video/omap/lcd_palmte.c:89: warning: initialization from
incompatible pointer type
drivers/video/omap/lcd_palmte.c:90: warning: initialization from
incompatible pointer type
....
parent 20638e50
...@@ -33,33 +33,33 @@ ...@@ -33,33 +33,33 @@
#include "debug.h" #include "debug.h"
static int palmte_panel_init(struct lcd_panel *panel) static int palmte_panel_init(struct omapfb_device *panel)
{ {
DBGENTER(1); DBGENTER(1);
DBGLEAVE(1); DBGLEAVE(1);
return 0; return 0;
} }
static void palmte_panel_cleanup(struct lcd_panel *panel) static void palmte_panel_cleanup(void)
{ {
DBGENTER(1); DBGENTER(1);
DBGLEAVE(1); DBGLEAVE(1);
} }
static int palmte_panel_enable(struct lcd_panel *panel) static int palmte_panel_enable(void)
{ {
DBGENTER(1); DBGENTER(1);
DBGLEAVE(1); DBGLEAVE(1);
return 0; return 0;
} }
static void palmte_panel_disable(struct lcd_panel *panel) static void palmte_panel_disable(void)
{ {
DBGENTER(1); DBGENTER(1);
DBGLEAVE(1); DBGLEAVE(1);
} }
static unsigned long palmte_panel_get_caps(struct lcd_panel *panel) static unsigned long palmte_panel_get_caps(void)
{ {
return 0; return 0;
} }
...@@ -138,4 +138,3 @@ static void palmte_panel_drv_cleanup(void) ...@@ -138,4 +138,3 @@ static void palmte_panel_drv_cleanup(void)
module_init(palmte_panel_drv_init); module_init(palmte_panel_drv_init);
module_exit(palmte_panel_drv_cleanup); module_exit(palmte_panel_drv_cleanup);
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