]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Fix compile-time warning
authorSanjeev Premi <premi@ti.com>
Tue, 19 Aug 2008 18:30:01 +0000 (00:00 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 20 Aug 2008 12:30:39 +0000 (15:30 +0300)
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 <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3evm-flash.c

index 0aa8ef26879b8c56afcafe3ca1571afe45db8d14..5f3663daf4f83d3f95c3d7ebab1359a4a49bfa96 100644 (file)
@@ -23,7 +23,7 @@
 #include <mach/gpmc.h>
 #include <mach/nand.h>
 
-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;
 }