From 673e7944bb51cd5202b2a152326ff7445356715d Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 5 Jul 2020 19:27:23 +0200 Subject: ar71xx: Fix mikrotik NAND compile problem There is one closing bracket too much. Fixes: 9cad70044f75 ("kernel: fix nand_release() usage.") Signed-off-by: Hauke Mehrtens (cherry picked from commit 014d3f593acea13ee6aa002d858f182806ed43f0) --- target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar71xx/files/drivers/mtd') 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 3479d5cc65..7dde613131 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c @@ -356,7 +356,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); -- cgit v1.2.3