From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix warnings in lcd_palmz71
Date: Thu, 04 Jan 2007 19:32:44 +0100 [thread overview]
Message-ID: <459D484C.3010202@googlemail.com> (raw)
[-- 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 --]
next reply other threads:[~2007-01-04 18:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 18:32 Dirk Behme [this message]
2007-01-09 23:30 ` [PATCH] ARM: OMAP: Fix warnings in lcd_palmz71 Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=459D484C.3010202@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox