Skip to content
Commit 6ec8070b authored by Talel Shenhar's avatar Talel Shenhar Committed by Eduardo Valentin
Browse files

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: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarTalel Shenhar <talel@amazon.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 72554a75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment