diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-10-16 12:15:08 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-10-16 12:15:17 +0200 |
commit | fe3c3aed4454663d455af1216177d867ef4a7696 (patch) | |
tree | bbf0e0c0fb50db549375973231f24ca4362e1e17 /target/linux | |
parent | bbda81ce3077dfade2a43a39f772cfec2e82a9a5 (diff) | |
download | upstream-fe3c3aed4454663d455af1216177d867ef4a7696.tar.gz upstream-fe3c3aed4454663d455af1216177d867ef4a7696.tar.bz2 upstream-fe3c3aed4454663d455af1216177d867ef4a7696.zip |
ramips: fix typo in MT7621 NAND driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch b/target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch index ed9f1dc658..f5b1d82347 100644 --- a/target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch +++ b/target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch @@ -3379,7 +3379,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); |