aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-10-16 12:15:08 +0200
committerFelix Fietkau <nbd@nbd.name>2017-10-16 12:18:19 +0200
commit2e9f3c6225ffbb67862abbb503c4d77d691edaa3 (patch)
treebef263a6ae3e4d8a687373cbfafa5071f5188522 /target/linux/ramips
parent63c17142c865618977a540485eea7a9487a58029 (diff)
downloadupstream-2e9f3c6225ffbb67862abbb503c4d77d691edaa3.tar.gz
upstream-2e9f3c6225ffbb67862abbb503c4d77d691edaa3.tar.bz2
upstream-2e9f3c6225ffbb67862abbb503c4d77d691edaa3.zip
ramips: fix typo in MT7621 NAND driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch b/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch
index b63018fde7..2a69521722 100644
--- a/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch
+++ b/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch
@@ -3344,7 +3344,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ data |= ((0x2<<18) |(0x2<<16));
+ DRV_WriteReg32(RALINK_SYSCTL_BASE+0x60, data);
+
-+ hw = &mt7621_nand_hw,
++ hw = &mt7621_nand_hw;
+ BUG_ON(!hw);
+ /* Allocate memory for the device structure (and zero it) */
+ host = kzalloc(sizeof(struct mtk_nand_host), GFP_KERNEL);