aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/devboards/db1300.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/devboards/db1300.c')
-rw-r--r--arch/mips/alchemy/devboards/db1300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/alchemy/devboards/db1300.c b/arch/mips/alchemy/devboards/db1300.c
index b58077008a53..d3c087f59f1a 100644
--- a/arch/mips/alchemy/devboards/db1300.c
+++ b/arch/mips/alchemy/devboards/db1300.c
@@ -150,7 +150,7 @@ static void __init db1300_gpio_config(void)
150static void au1300_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, 150static void au1300_nand_cmd_ctrl(struct mtd_info *mtd, int cmd,
151 unsigned int ctrl) 151 unsigned int ctrl)
152{ 152{
153 struct nand_chip *this = mtd->priv; 153 struct nand_chip *this = mtd_to_nand(mtd);
154 unsigned long ioaddr = (unsigned long)this->IO_ADDR_W; 154 unsigned long ioaddr = (unsigned long)this->IO_ADDR_W;
155 155
156 ioaddr &= 0xffffff00; 156 ioaddr &= 0xffffff00;