Commit 6b4c3c94 authored by Sanjeev Premi's avatar Sanjeev Premi Committed by Tony Lindgren

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: default avatarSanjeev Premi <premi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent de2bd37b
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment