You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
While "rawnand.h" is available in kernel 4.14,
the default for this target is kernel 4.9 in which "nand.h" should be used.
Add an extra check to include the correct file depending on kernel version
Fixes these build errors:
drivers/mtd/nand/ar934x_nfc.c:16:10: fatal error: linux/mtd/rawnand.h: No such file or directory
#include <linux/mtd/rawnand.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Fixes:
|
6 years ago | |
---|---|---|
.. | ||
imagebuilder | 6 years ago | |
linux | 6 years ago | |
sdk | 6 years ago | |
toolchain | 7 years ago | |
Config.in | 7 years ago | |
Makefile | 8 years ago |