#include <linux/io.h>
#include <asm/mach/flash.h>
-#include <asm/arch/onenand.h>
-#include <asm/arch/board.h>
-#include <asm/arch/gpmc.h>
+#include <mach/onenand.h>
+#include <mach/board.h>
+#include <mach/gpmc.h>
static struct mtd_partition sdp_nor_partitions[] = {
/* bootloader (U-Boot, etc) in first sector */
.resource = &sdp_nor_resource,
};
-static int sdp_onenand_setup(void __iomem *);
+static int sdp_onenand_setup(void __iomem *, int freq);
static struct mtd_partition sdp_onenand_partitions[] = {
{
*
* @return int: Currently always returning zero.
*/
-static int sdp_onenand_setup(void __iomem *onenand_base)
+static int sdp_onenand_setup(void __iomem *onenand_base, int freq)
{
/* Onenand setup does nothing at present */
return 0;