ar71xx: Fix mikrotik NAND compile problem
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Jul 2020 17:27:23 +0000 (19:27 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Jul 2020 22:14:33 +0000 (00:14 +0200)
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@hauke-m.de>
(cherry picked from commit 014d3f593acea13ee6aa002d858f182806ed43f0)

target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c

index 5fd0ef07ac4bef7ea3a6e13e3588b458ce2014a5..36f9e2574878eff0aa424582ef18d0f7ea8db4eb 100644 (file)
@@ -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);