ramips: fix typo in MT7621 NAND driver
[openwrt/openwrt.git] / target / linux / ramips / patches-4.4 / 0039-mtd-add-mt7621-nand-support.patch
index b63018fde7010cda887d1953ba6233b02f1be005..2a695217223b5a4fc258fcbc4a499bfd9ed382d4 100644 (file)
@@ -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);