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>
#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[] = {
{
*
*/
-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;
}