From: Marek Belisko <marek.belisko@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH] pcm037: Fix compilation warning.
Date: Fri, 12 Nov 2010 14:00:50 +0100 [thread overview]
Message-ID: <1289566850-20398-1-git-send-email-marek.belisko@gmail.com> (raw)
This patch fix following compilation warning:
../devices-imx31.h: In function 'imx31_add_fb':
../devices-imx31.h:34: warning: passing argument 2 of 'imx_add_ipufb'
from incompatible pointer type
Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
---
arch/arm/mach-imx/include/mach/devices-imx31.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/devices-imx31.h b/arch/arm/mach-imx/include/mach/devices-imx31.h
index 1f5a48a..5dcea82 100644
--- a/arch/arm/mach-imx/include/mach/devices-imx31.h
+++ b/arch/arm/mach-imx/include/mach/devices-imx31.h
@@ -29,7 +29,7 @@ static inline struct device_d *imx31_add_nand(struct imx_nand_platform_data *pda
return imx_add_nand((void *)0xb8000000, pdata);
}
-static inline struct device_d *imx31_add_fb(struct imx_fb_platform_data *pdata)
+static inline struct device_d *imx31_add_fb(struct imx_ipu_fb_platform_data *pdata)
{
return imx_add_ipufb((void *)IPU_BASE, pdata);
}
--
1.7.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
reply other threads:[~2010-11-12 12:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1289566850-20398-1-git-send-email-marek.belisko@gmail.com \
--to=marek.belisko@gmail.com \
--cc=barebox@lists.infradead.org \
/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