ar71xx: Fix mikrotik NAND compile problem
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 7 Jul 2020 21:38:10 +0000 (23:38 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 7 Jul 2020 21:38:10 +0000 (23:38 +0200)
commit66e04abbb6d0dec8642be5deb2fca4bba470f8ac
tree93181e4148a815d7363bc2563885b1a383e62cd8
parent2b479512bc27c7ba9dcfc0a74deaf9031ccf240d
ar71xx: Fix mikrotik NAND compile problem

This Fixes the folowing 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: ce958dd88a7e ("kernel: Update kernel 4.14 to version 4.14.187")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c