Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1349057

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

From Krzysztof Kozlowski <k.kozlowski@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] nvmem: Fix build error of missing devm_ioremap_resource on UM
Date 2016-03-03 13:00 +0100
Message-ID <r8A5d-6Bm-31@gated-at.bofh.it> (permalink)
References <r8wXG-4lu-49@gated-at.bofh.it> <r8xAm-4OI-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-03-03 18:09 GMT+09:00 Srinivas Kandagatla <srinivas.kandagatla@linaro.org>:
>
>
> 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@samsung.com>
>> ---
>>   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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] nvmem: Fix build error of missing devm_ioremap_resource on UM Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-03 09:40 +0100
  Re: [PATCH] nvmem: Fix build error of missing devm_ioremap_resource  on UM Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-03-03 10:20 +0100
    Re: [PATCH] nvmem: Fix build error of missing devm_ioremap_resource  on UM Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-03 13:00 +0100

csiph-web