* [PATCH] ARM: OMAP: Fix warning in lcdc.c
@ 2007-05-01 13:25 Dirk Behme
2007-05-02 17:36 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-05-01 13:25 UTC (permalink / raw)
To: linux-omap-open-source
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
Fix warning
drivers/video/omap/lcdc.c:878: warning: initialization from
incompatible pointer type
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
[-- Attachment #2: lcdc_warning_fix_patch.txt --]
[-- Type: text/plain, Size: 482 bytes --]
Index: linux-osk/drivers/video/omap/lcdc.c
===================================================================
--- linux-osk.orig/drivers/video/omap/lcdc.c
+++ linux-osk/drivers/video/omap/lcdc.c
@@ -611,9 +611,9 @@ static void omap_lcdc_resume(void)
}
}
-static unsigned long omap_lcdc_get_caps(void)
+static void omap_lcdc_get_caps(int plane, struct omapfb_caps *caps)
{
- return 0;
+ return;
}
int omap_lcdc_set_dma_callback(void (*callback)(void *data), void *data)
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ARM: OMAP: Fix warning in lcdc.c
2007-05-01 13:25 [PATCH] ARM: OMAP: Fix warning in lcdc.c Dirk Behme
@ 2007-05-02 17:36 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-05-02 17:36 UTC (permalink / raw)
To: Dirk Behme; +Cc: linux-omap-open-source
* Dirk Behme <dirk.behme@googlemail.com> [070501 13:30]:
>
> Fix warning
>
> drivers/video/omap/lcdc.c:878: warning: initialization from
> incompatible pointer type
>
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
> Index: linux-osk/drivers/video/omap/lcdc.c
> ===================================================================
> --- linux-osk.orig/drivers/video/omap/lcdc.c
> +++ linux-osk/drivers/video/omap/lcdc.c
> @@ -611,9 +611,9 @@ static void omap_lcdc_resume(void)
> }
> }
>
> -static unsigned long omap_lcdc_get_caps(void)
> +static void omap_lcdc_get_caps(int plane, struct omapfb_caps *caps)
> {
> - return 0;
> + return;
> }
>
> int omap_lcdc_set_dma_callback(void (*callback)(void *data), void *data)
>
>
Pushing today.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-02 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-01 13:25 [PATCH] ARM: OMAP: Fix warning in lcdc.c Dirk Behme
2007-05-02 17:36 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox