On Wed, Mar 30, 2016 at 3:23 AM, Rob Herring <r...@kernel.org> wrote:
> 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 <a...@arndb.de>
> Cc: Lee Jones <lee.jo...@linaro.org>
> Signed-off-by: Rob Herring <r...@kernel.org>
> ---
>  drivers/mfd/Kconfig | 2 --
>  1 file changed, 2 deletions(-)

Tested-by: Krzysztof Kozlowski <k.kozlow...@samsung.com>

Best regards,
Krzysztof

Reply via email to