aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-07-05 19:27:23 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-07-06 00:12:04 +0200
commit673e7944bb51cd5202b2a152326ff7445356715d (patch)
tree578fc94cbca31967213fa747387bcfc1de71ef70
parent73e0ea1ea964f27097ff4009b5d55f31a40d2932 (diff)
downloadupstream-673e7944bb51cd5202b2a152326ff7445356715d.tar.gz
upstream-673e7944bb51cd5202b2a152326ff7445356715d.tar.bz2
upstream-673e7944bb51cd5202b2a152326ff7445356715d.zip
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 <hauke@hauke-m.de> (cherry picked from commit 014d3f593acea13ee6aa002d858f182806ed43f0)
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c2
1 files changed, 1 insertions, 1 deletions
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);