From 6b4c3c9494cd3c58f5f8cfad468f7e56c3448c33 Mon Sep 17 00:00:00 2001 From: Sanjeev Premi Date: Wed, 20 Aug 2008 00:00:01 +0530 Subject: [PATCH] Fix compile-time warning Fixes this warning: CC arch/arm/mach-omap2/board-omap3evm-flash.o arch/arm/mach-omap2/board-omap3evm-flash.c:61: warning: initialization from incompatible pointer type Signed-off-by: Sanjeev Premi Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-omap3evm-flash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3evm-flash.c b/arch/arm/mach-omap2/board-omap3evm-flash.c index 0aa8ef26879..5f3663daf4f 100644 --- a/arch/arm/mach-omap2/board-omap3evm-flash.c +++ b/arch/arm/mach-omap2/board-omap3evm-flash.c @@ -23,7 +23,7 @@ #include #include -static int omap3evm_onenand_setup(void __iomem *); +static int omap3evm_onenand_setup(void __iomem *, int freq); static struct mtd_partition omap3evm_onenand_partitions[] = { { @@ -76,8 +76,8 @@ static struct platform_device omap3evm_onenand_device = { * */ -static int omap3evm_onenand_setup(void __iomem *onenand_base) - { +static int omap3evm_onenand_setup(void __iomem *onenand_base, int freq) +{ /* nothing is required to be setup for onenand as of now */ return 0; } -- 2.41.0