ramips: fix typo in MT7621 NAND driver
authorFelix Fietkau <nbd@nbd.name>
Mon, 16 Oct 2017 10:15:08 +0000 (12:15 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 16 Oct 2017 10:15:17 +0000 (12:15 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch

index ed9f1dc65858e86c8f8d2ea3ee304555d232d381..f5b1d823478d24f2f2416997ec47a628a47c0c1c 100644 (file)
@@ -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);