[PATCH] pcm037: Fix compilation warning.
Marek Belisko
marek.belisko at gmail.com
Fri Nov 12 08:00:50 EST 2010
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 at 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
More information about the barebox
mailing list