Re: [PATCH] nvmem: Fix build error of missing devm_ioremap_resource on UM

From: Krzysztof Kozlowski
Date: Thu Mar 03 2016 - 06:51:07 EST


2016-03-03 18:09 GMT+09:00 Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>:
>
>
> On 03/03/16 08:33, Krzysztof Kozlowski wrote:
>>
>> The devres.o gets linked if HAS_IOMEM is present so on ARCH=um
>> allyesconfig (COMPILE_TEST) failed on many files with:
>>
>> drivers/built-in.o: In function `qfprom_probe':
>> qfprom.c:(.text+0x4c5bcb): undefined reference to `devm_ioremap_resource'
>>
>> The users of devm_ioremap_resource() which are compile-testable should
>> depend on HAS_IOMEM.
>>
>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
>> ---
>> drivers/nvmem/Kconfig | 12 ++++++------
>> 1 file changed, 6 insertions(+), 6 deletions(-)
>>
> There is exactly same patch in the queue [1]
>
>
> Could you send a patch just for MTK, others are taken care by [1]
>
> [1]: http://lkml.iu.edu/hypermail/linux/kernel/1601.3/01577.html
>

Of course, I will send updated patchset.

Best regards,
Krzysztof