summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2018-07-25 11:19:28 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-31 09:46:06 +0200
commit16909c81c6298c2db5587340106523e0a6c2bfe2 (patch)
tree8903cc8a7616325de825a63fdd5997519b9c3894 /drivers/mtd
parentsparc64: add reads{b,w,l}/writes{b,w,l} (diff)
downloadlinux-16909c81c6298c2db5587340106523e0a6c2bfe2.tar.xz
linux-16909c81c6298c2db5587340106523e0a6c2bfe2.zip
drivers/memory/Kconfig: Add CONFIG_OF dependency
JZ4780_NEMC doesn't depend on OF, and if OF isn't enabled we get this error: drivers/memory/jz4780-nemc.c: In function ‘jz4780_nemc_num_banks’: drivers/memory/jz4780-nemc.c:72:10: error: implicit declaration of function ‘of_read_number’; did you mean ‘down_read_nested’? [-Werror=implicit-function-declaration] bank = of_read_number(prop, 1); ^~~~~~~~~~~~~~ down_read_nested Make JZ4780_NEMC depend on OF. Fixes: ab99e11062c1 ("memory: jz4780-nemc: Allow selection of this driver when COMPILE_TEST=y") Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions