diff options
Diffstat (limited to 'board/xes')
-rw-r--r-- | board/xes/common/actl_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xes/common/actl_nand.c b/board/xes/common/actl_nand.c index bf896fe0ce..d1f3668bcb 100644 --- a/board/xes/common/actl_nand.c +++ b/board/xes/common/actl_nand.c @@ -16,7 +16,7 @@ */ static void nand_addr_hwcontrol(struct mtd_info *mtd, int cmd, uint ctrl) { - struct nand_chip *this = mtd->priv; + struct nand_chip *this = mtd_to_nand(mtd); ulong IO_ADDR_W; if (ctrl & NAND_CTRL_CHANGE) { |