ramips: fix typo in MT7621 NAND driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
bbda81ce30
commit
fe3c3aed44
1 changed files with 1 additions and 1 deletions
|
@ -3379,7 +3379,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||||
+ data |= ((0x2<<18) |(0x2<<16));
|
+ data |= ((0x2<<18) |(0x2<<16));
|
||||||
+ DRV_WriteReg32(RALINK_SYSCTL_BASE+0x60, data);
|
+ DRV_WriteReg32(RALINK_SYSCTL_BASE+0x60, data);
|
||||||
+
|
+
|
||||||
+ hw = &mt7621_nand_hw,
|
+ hw = &mt7621_nand_hw;
|
||||||
+ BUG_ON(!hw);
|
+ BUG_ON(!hw);
|
||||||
+ /* Allocate memory for the device structure (and zero it) */
|
+ /* Allocate memory for the device structure (and zero it) */
|
||||||
+ host = kzalloc(sizeof(struct mtk_nand_host), GFP_KERNEL);
|
+ host = kzalloc(sizeof(struct mtk_nand_host), GFP_KERNEL);
|
||||||
|
|
Loading…
Reference in a new issue