[openwrt/openwrt] ar71xx: Fix mikrotik NAND compile problem

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 5 18:15:09 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-18.06:
https://git.openwrt.org/030fe10a410dbcdbb7af1b9b0e50160783e45c62

commit 030fe10a410dbcdbb7af1b9b0e50160783e45c62
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jul 5 19:27:23 2020 +0200

    ar71xx: Fix mikrotik NAND compile problem
    
    There is one closing bracket too much.
    
    Fixes: 0f07496f520c ("kernel: Update kernel 4.9 to version 4.9.229")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit 014d3f593acea13ee6aa002d858f182806ed43f0)
---
 target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
index 5fd0ef07ac..36f9e25748 100644
--- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
+++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
@@ -352,7 +352,7 @@ static int rb4xx_nand_remove(struct platform_device *pdev)
 {
 	struct rb4xx_nand_info *info = platform_get_drvdata(pdev);
 
-	nand_release(&info->chip));
+	nand_release(&info->chip);
 	platform_set_drvdata(pdev, NULL);
 	kfree(info);
 	gpio_free(RB4XX_NAND_GPIO_NCE);



More information about the lede-commits mailing list