public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix warnings in lcd_palmz71
@ 2007-01-04 18:32 Dirk Behme
  2007-01-09 23:30 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-01-04 18:32 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]


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>


[-- Attachment #2: lcd_palmz71_warnings_fix.txt --]
[-- Type: text/plain, Size: 1047 bytes --]

Index: linux-osk/drivers/video/omap/lcd_palmz71.c
===================================================================
--- linux-osk.orig/drivers/video/omap/lcd_palmz71.c
+++ linux-osk/drivers/video/omap/lcd_palmz71.c
@@ -30,28 +30,29 @@
 #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 = {



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: Fix warnings in lcd_palmz71
  2007-01-04 18:32 [PATCH] ARM: OMAP: Fix warnings in lcd_palmz71 Dirk Behme
@ 2007-01-09 23:30 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-01-09 23:30 UTC (permalink / raw)
  To: Dirk Behme; +Cc: linux-omap-open-source

* Dirk Behme <dirk.behme@googlemail.com> [070104 10:40]:
> 
> 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>
> 

> Index: linux-osk/drivers/video/omap/lcd_palmz71.c
> ===================================================================
> --- linux-osk.orig/drivers/video/omap/lcd_palmz71.c
> +++ linux-osk/drivers/video/omap/lcd_palmz71.c
> @@ -30,28 +30,29 @@
>  #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 = {

Pushing today.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-09 23:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 18:32 [PATCH] ARM: OMAP: Fix warnings in lcd_palmz71 Dirk Behme
2007-01-09 23:30 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox