linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC 00/15] tree-wide: mfd: syscon: Fix unmet ioremap dependency
@ 2016-03-03  8:03 Krzysztof Kozlowski
  2016-03-03  8:03 ` [RFC 01/15] clocksource: atmel: Add missing MFD_SYSCON dependency on HAS_IOMEM Krzysztof Kozlowski
                   ` (14 more replies)
  0 siblings, 15 replies; 42+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-03  8:03 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2016-03-03 13:05 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03  8:03 [RFC 00/15] tree-wide: mfd: syscon: Fix unmet ioremap dependency Krzysztof Kozlowski
2016-03-03  8:03 ` [RFC 01/15] clocksource: atmel: Add missing MFD_SYSCON dependency on HAS_IOMEM Krzysztof Kozlowski
2016-03-03 10:52   ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 02/15] dmaengine: nxp: " Krzysztof Kozlowski
2016-03-03 10:52   ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 03/15] hwspinlock: qcom: " Krzysztof Kozlowski
2016-03-03 10:53   ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 04/15] irqchip: st: " Krzysztof Kozlowski
2016-03-03 10:53   ` Arnd Bergmann
2016-03-03 12:00     ` [rtc-linux] " Krzysztof Kozlowski
2016-03-03 12:28       ` Arnd Bergmann
2016-03-03 12:33         ` Krzysztof Kozłowski
2016-03-03  8:03 ` [RFC 05/15] phy: hi6220: " Krzysztof Kozlowski
2016-03-03 10:54   ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 06/15] pinctrl: rockchip: " Krzysztof Kozlowski
2016-03-03 12:44   ` [rtc-linux] " Krzysztof Kozlowski
2016-03-03  8:03 ` [RFC 07/15] pinctrl: mvebu: " Krzysztof Kozlowski
2016-03-03 12:43   ` [rtc-linux] " Krzysztof Kozlowski
2016-03-03  8:03 ` [RFC 08/15] rtc: at91sam9: " Krzysztof Kozlowski
2016-03-03 10:55   ` Arnd Bergmann
2016-03-03 12:27     ` Geert Uytterhoeven
2016-03-03 12:58       ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 09/15] media: platform: " Krzysztof Kozlowski
2016-03-03 10:57   ` Arnd Bergmann
2016-03-03 12:28     ` Geert Uytterhoeven
2016-03-03 12:40     ` [rtc-linux] " Krzysztof Kozlowski
2016-03-03 13:05       ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 10/15] net: ethernet: " Krzysztof Kozlowski
2016-03-03 10:59   ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 11/15] power: reset: keystone: " Krzysztof Kozlowski
2016-03-03 11:00   ` Arnd Bergmann
2016-03-03 12:33     ` Sebastian Reichel
2016-03-03 12:35       ` [rtc-linux] " Krzysztof Kozlowski
2016-03-03  8:03 ` [RFC 12/15] soc: qcom: " Krzysztof Kozlowski
2016-03-03 12:43   ` [rtc-linux] " Krzysztof Kozlowski
2016-03-03  8:03 ` [RFC 13/15] staging: media: omap4iss: " Krzysztof Kozlowski
2016-03-03 12:42   ` [rtc-linux] " Krzysztof Kozlowski
2016-03-03  8:03 ` [RFC 14/15] usb: xhci: mtk: " Krzysztof Kozlowski
2016-03-03 11:01   ` Arnd Bergmann
2016-03-03  8:03 ` [RFC 15/15] mfd: syscon: Fix build of missing ioremap on UM Krzysztof Kozlowski
2016-03-03 10:50   ` Arnd Bergmann
2016-03-03 12:24     ` [rtc-linux] " Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).