Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756879AbcCCIEQ (ORCPT ); Thu, 3 Mar 2016 03:04:16 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:55416 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751316AbcCCIEI (ORCPT ); Thu, 3 Mar 2016 03:04:08 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfec7f4-f79026d00000418a-7a-56d7eff34c3d Content-transfer-encoding: 8BIT From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Dan Williams , Vinod Koul , Jason Cooper , Marc Zyngier , Mauro Carvalho Chehab , Lee Jones , Giuseppe Cavallaro , Kishon Vijay Abraham I , Linus Walleij , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Alessandro Zummo , Alexandre Belloni , Andy Gross , David Brown , Laurent Pinchart , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, netdev@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, rtc-linux@googlegroups.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devel@driverdev.osuosl.org, linux-usb@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RFC 00/15] tree-wide: mfd: syscon: Fix unmet ioremap dependency Date: Thu, 03 Mar 2016 17:03:26 +0900 Message-id: <1456992221-26712-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0xSYRjexzmcczBpJ6Q82apFc5mti7PWu9asdT221lxrdt2K9MwM8ALa orllNZqakWh0UTEHZGU0C6olkZTZhazULGzNyw+tZRhkZFeTJNby37Pn9j4/XgoTfcOjqPSM HE6ZIZVLiDC8eeTRy7l+X0fygoHPMWBue0VCgdvEg4ArHk7rWxFU+aeCp/o4gtI+HwaOpz9J uKz/zQfdpTIMjpjqCDhkbsfB8z4OWt8WE1CoM5PQM/QAwcnhCzyw9rpHvc5nJNjODSNot1cS UHz1Bh/8x5sQnGlp4MGHml4ExhoNBr87Rwi4/G4/PKyeBAHPDQTOwgIEzbdzwGbVY9CvdeLL JaylyoLY7ob7ONtnbUNsfXkXyTp0LoKtKDjLZ20XY1mTo5/HWmsLCTb/bgvOdrodBOt9/pxk nQYLydrMB9nrJ0ZD2uu1KEm8LWxpKidP38cp5yfsCtvjfnKWn/Vm8n67T56PmiOKEEUx9EJm xDinCAlG4SSmtbuOKEJhlIg+j5jHhh4yKAjpCcz3sm486Mfo6UzTC1mQxuhZTGmVEQv5A4jx DnzDggJBxzO2C+a/RWL6o4Dpri/hhRJxzA/v8N/SCDqRsWiu8YMYp6OZOz1OPHRsLeMf7MFC 46Yx1a1pJWh8+ZgZ5f9nlI+ZUY2wWjSRy03JUu1OU8TNU0kVqtyMtHkpmQorCr3Dl1vI9HBJ I6IpJAkXvs7vSBbxpftUakUjYihMIhY+6hulhKlS9QFOmblTmSvnVI1oCoVLIoUGu2+TiE6T 5nAyjsvilP9UHiWIykeLMsYfGerSZvf3J64+nJNgEM8+MNiSlzdtvStB/dWYeldWFtjxrimL vFnTuS6h7teycUefVUbfMvwIaETNxuxVSTvdm5O2Rm6ZSd/XltyrSEyWmzbaj26XeGPV3qbF XTMEK2L4p5YqXOma0qFjKnu440qiXreG+uTTfdkr03tWbpDgqj3SuFhMqZL+AZn0ENcKAwAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3215 Lines: 73 Hi, Building allyesconfig on ARCH=um fails with: drivers/mfd/syscon.c: In function ‘of_syscon_register’: drivers/mfd/syscon.c:67:9: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration] base = ioremap(res.start, resource_size(&res)); Since commit c89c0114955a ("mfd: syscon: Set regmap max_register in of_syscon_register") the syscon depends on HAS_IOMEM because it uses the ioremap(). However syscon is often directly selected... so first the dependency on HAS_IOMEM has to be added to all selecting symbols. Comments are welcomed whether this is appropriate approach. The last patch "mfd: syscon: Fix build of missing ioremap on UM" should enter all other to avoid kbuild complains like: warning: (ST_IRQCHIP && HIP04_ETH && 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) Best regards, Krzysztof Krzysztof Kozlowski (15): clocksource: atmel: Add missing MFD_SYSCON dependency on HAS_IOMEM dmaengine: nxp: Add missing MFD_SYSCON dependency on HAS_IOMEM hwspinlock: qcom: Add missing MFD_SYSCON dependency on HAS_IOMEM irqchip: st: Add missing MFD_SYSCON dependency on HAS_IOMEM phy: hi6220: Add missing MFD_SYSCON dependency on HAS_IOMEM pinctrl: rockchip: Add missing MFD_SYSCON dependency on HAS_IOMEM pinctrl: mvebu: Add missing MFD_SYSCON dependency on HAS_IOMEM rtc: at91sam9: Add missing MFD_SYSCON dependency on HAS_IOMEM media: platform: Add missing MFD_SYSCON dependency on HAS_IOMEM net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM power: reset: keystone: Add missing MFD_SYSCON dependency on HAS_IOMEM soc: qcom: Add missing MFD_SYSCON dependency on HAS_IOMEM staging: media: omap4iss: Add missing MFD_SYSCON dependency on HAS_IOMEM usb: xhci: mtk: Add missing MFD_SYSCON dependency on HAS_IOMEM mfd: syscon: Fix build of missing ioremap on UM drivers/clocksource/Kconfig | 1 + drivers/dma/Kconfig | 1 + drivers/hwspinlock/Kconfig | 1 + drivers/irqchip/Kconfig | 1 + drivers/media/platform/Kconfig | 1 + drivers/media/platform/exynos4-is/Kconfig | 1 + drivers/mfd/Kconfig | 1 + drivers/net/ethernet/hisilicon/Kconfig | 1 + drivers/net/ethernet/stmicro/stmmac/Kconfig | 6 ++++++ drivers/net/ethernet/ti/Kconfig | 1 + drivers/phy/Kconfig | 1 + drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/mvebu/Kconfig | 1 + drivers/power/reset/Kconfig | 1 + drivers/rtc/Kconfig | 1 + drivers/soc/qcom/Kconfig | 1 + drivers/staging/media/omap4iss/Kconfig | 1 + drivers/usb/host/Kconfig | 1 + 18 files changed, 23 insertions(+) -- 2.5.0