[source] ramips: fix typo in MT7621 NAND driver

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 16 03:33:52 PDT 2017


nbd pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/2e9f3c6225ffbb67862abbb503c4d77d691edaa3

commit 2e9f3c6225ffbb67862abbb503c4d77d691edaa3
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Oct 16 12:15:08 2017 +0200

    ramips: fix typo in MT7621 NAND driver
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 b63018f..2a69521 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 at 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);



More information about the lede-commits mailing list