ath79: fix NAND driver compilation for kernel 5.4
authorDavid Bauer <mail@david-bauer.net>
Tue, 17 Mar 2020 20:59:27 +0000 (21:59 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 22 Mar 2020 19:03:18 +0000 (20:03 +0100)
commit94c0926106a28189eb5e15ab1b3c182c87796f8e
tree4581e18b2b95599db18ceb4f7e5b47e7aa227a85
parent9e5a25846f501acfd4aedccae8cef31ad8f2c456
ath79: fix NAND driver compilation for kernel 5.4

This fixes the compilation of the AR934x NAND controller
driver for kernel 5.4 while leaving it untouched for
kernel 4.19.

This change is currently not run-tested, as i do not have such
a device at hand.

CC: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
CC: André Valentin <avalentin@marcant.net>
CC: WeiDong Jia <jwdsccd@gmail.com>
Signed-off-by: David Bauer <mail@david-bauer.net>
Tested-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
target/linux/ath79/files/drivers/mtd/nand/raw/ar934x_nand.c