mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pcm037: Fix compilation warning.
@ 2010-11-12 13:00 Marek Belisko
  0 siblings, 0 replies; only message in thread
From: Marek Belisko @ 2010-11-12 13:00 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-12 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12 13:00 [PATCH] pcm037: Fix compilation warning Marek Belisko

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