Re: [PATCH 2/2] mfd: remove dependency on HAS_IOMEM

From: Krzysztof Kozlowski
Date: Wed Mar 30 2016 - 00:23:43 EST


On Wed, Mar 30, 2016 at 3:23 AM, Rob Herring <robh@xxxxxxxxxx> 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 <arnd@xxxxxxxx>
> Cc: Lee Jones <lee.jones@xxxxxxxxxx>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> drivers/mfd/Kconfig | 2 --
> 1 file changed, 2 deletions(-)

Tested-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>

Best regards,
Krzysztof