clps711x uses io memory which makes it not compilable on architectures without HAS_IOMEM such as UML:
drivers/built-in.o: In function `clps711x_pwm_probe': pwm-clps711x.c:(.text+0x2848): undefined reference to `devm_ioremap_resource' Signed-off-by: David Cohen <[email protected]> --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 3865dfb9ed08..bc5bdce00059 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -82,7 +82,7 @@ config PWM_BFIN config PWM_CLPS711X tristate "CLPS711X PWM support" - depends on ARCH_CLPS711X || COMPILE_TEST + depends on HAS_IOMEM && (ARCH_CLPS711X || COMPILE_TEST) help Generic PWM framework driver for Cirrus Logic CLPS711X. -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-pwm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
