From: Sanjeev Premi Date: Tue, 19 Aug 2008 18:30:01 +0000 (+0530) Subject: Fix compile-time warning X-Git-Tag: v2.6.27-omap1~297 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6b4c3c9494cd3c58f5f8cfad468f7e56c3448c33;p=linux-2.6-omap-h63xx.git 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 --- 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; }