Re: [PATCH] memory: jz4780-nemc: build depend on OF

2018-07-23 Thread Randy Dunlap
On 07/23/2018 04:38 AM, Corentin Labbe wrote: > jz4780-nemc use of_ functions, so it needs to depend on OF > > This fix the following build failure on x86 > drivers/memory/jz4780-nemc.c: In function ‘jz4780_nemc_num_banks’: > drivers/memory/jz4780-nemc.c:72:10: error: implicit declaration of funct

[PATCH] memory: jz4780-nemc: build depend on OF

2018-07-23 Thread Corentin Labbe
jz4780-nemc use of_ functions, so it needs to depend on OF This fix the following build failure on x86 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’ [-Werror=implicit-function-declara