summaryrefslogtreecommitdiff
path: root/arch/mips/netlogic/xlr/platform-flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/netlogic/xlr/platform-flash.c')
-rw-r--r--arch/mips/netlogic/xlr/platform-flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/netlogic/xlr/platform-flash.c b/arch/mips/netlogic/xlr/platform-flash.c
index 4d1b4c003376..4f76b85b44c9 100644
--- a/arch/mips/netlogic/xlr/platform-flash.c
+++ b/arch/mips/netlogic/xlr/platform-flash.c
@@ -92,8 +92,8 @@ struct xlr_nand_flash_priv {
static struct xlr_nand_flash_priv nand_priv;
-static void xlr_nand_ctrl(struct mtd_info *mtd, int cmd,
- unsigned int ctrl)
+static void xlr_nand_ctrl(struct nand_chip *chip, int cmd,
+ unsigned int ctrl)
{
if (ctrl & NAND_CLE)
nlm_write_reg(nand_priv.flash_mmio,