diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-07-07 23:38:10 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-07-07 23:44:48 +0200 |
commit | 2ba95d287e1fcfbff782de5e5cebfc5d49edbc7c (patch) | |
tree | 6acde571c5290e8e66ae68a3679aaa9a22801d77 /target | |
parent | 030fe10a410dbcdbb7af1b9b0e50160783e45c62 (diff) | |
download | upstream-2ba95d287e1fcfbff782de5e5cebfc5d49edbc7c.tar.gz upstream-2ba95d287e1fcfbff782de5e5cebfc5d49edbc7c.tar.bz2 upstream-2ba95d287e1fcfbff782de5e5cebfc5d49edbc7c.zip |
ar71xx: Fix mikrotik NAND compile problem
This fixes the following compile error:
drivers/mtd/nand/rb91x_nand.c: In function 'rb91x_nand_remove':
drivers/mtd/nand/rb91x_nand.c:445:16: error: 'rbni' undeclared (first use in this function)
nand_release(&rbni->chip);
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 66e04abbb6d0dec8642be5deb2fca4bba470f8ac)
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c index 864768c1f0..4322eaccac 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c @@ -438,7 +438,7 @@ static int rb91x_nand_remove(struct platform_device *pdev) { struct rb91x_nand_info *info = platform_get_drvdata(pdev); - nand_release(&rbni->chip); + nand_release(&info->chip); return 0; } |