Re: [PATCH] pinctrl: at91-pio4: Make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix build error

2020-12-04 Thread Linus Walleij
On Tue, Nov 24, 2020 at 10:17 AM Tiezhu Yang wrote: > If CONFIG_HAS_IOMEM is not set, devm_platform_ioremap_resource() will > be not built in drivers/base/platform.c and then there exists a build > error about undefined reference to "devm_platform_ioremap_resource" > in pinctrl-at91-pio4.c under

[PATCH] pinctrl: at91-pio4: Make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix build error

2020-11-24 Thread Tiezhu Yang
If CONFIG_HAS_IOMEM is not set, devm_platform_ioremap_resource() will be not built in drivers/base/platform.c and then there exists a build error about undefined reference to "devm_platform_ioremap_resource" in pinctrl-at91-pio4.c under COMPILE_TEST and CONFIG_PINCTRL_AT91PIO4, make