mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-01 11:53:16 +01:00
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:0f07496f52("kernel: Update kernel 4.9 to version 4.9.229") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit66e04abbb6)
This commit is contained in:
parent
030fe10a41
commit
2ba95d287e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue