Message ID | 1459275781-3863-2-git-send-email-robh@kernel.org |
---|---|
State | New |
Headers | show |
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index eea61e3..8999d38 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -2,7 +2,6 @@ # Multifunction miscellaneous devices # -if HAS_IOMEM menu "Multifunction device drivers" config MFD_CORE @@ -1579,4 +1578,3 @@ config MFD_VEXPRESS_SYSREG on the ARM Ltd. Versatile Express board. endmenu -endif
Lots of drivers select MFD_SYSCON which depends on HAS_IOMEM and causes this kbuild warning if HAS_IOMEM is not enabled: warning: (ST_IRQCHIP && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW && PINCTRL_ROCKCHIP && PINCTRL_DOVE && POWER_RESET_KEYSTONE && S3C2410_WATCHDOG && VIDEO_OMAP3 && VIDEO_S5P_FIMC && USB_XHCI_MTK && RTC_DRV_AT91SAM9 && LPC18XX_DMAMUX && VIDEO_OMAP4 && HWSPINLOCK_QCOM && ATMEL_ST && QCOM_GSBI && PHY_HI6220_USB) selects MFD_SYSCON which has unmet direct dependencies (HAS_IOMEM) Now that we have ioremap/iounmap variants for !HAS_IOMEM, remove this dependency from MFD to fix this warning. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Lee Jones <lee.jones@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org> --- drivers/mfd/Kconfig | 2 -- 1 file changed, 2 deletions(-) -- 2.5.0