diff options
author | Talel Shenhar <talel@amazon.com> | 2019-04-29 11:47:36 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-14 16:00:36 +0200 |
commit | 6ec8070b9d48294fbe865535c167a79527eaf357 (patch) | |
tree | 42fb972b78a704947c5e381c494e630c8531ab2c /drivers/thermal/broadcom | |
parent | thermal/drivers/cpu_cooling: Remove pointless field (diff) | |
download | linux-6ec8070b9d48294fbe865535c167a79527eaf357.tar.xz linux-6ec8070b9d48294fbe865535c167a79527eaf357.zip |
thermal: Fix build error of missing devm_ioremap_resource on UM
The devres.o gets linked if HAS_IOMEM is present so on ARCH=um
allyesconfig (COMPILE_TEST) failed on many files with:
drivers/thermal/thermal_mmio.o:
In function 'thermal_mmio_probe':thermal_mmio.c:(.text+0xe1):
undefined reference to `devm_ioremap_resource'
The users of devm_ioremap_resource() which are compile-testable
should depend on HAS_IOMEM.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Talel Shenhar <talel@amazon.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/broadcom')
0 files changed, 0 insertions, 0 deletions