diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2020-11-24 17:17:03 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-12-04 09:54:27 +0100 |
commit | 0a03658d222a99b192a7f84e41e8af197a87259e (patch) | |
tree | b06624f385eae692a1e5d158add55c6fae363797 /lib/test_bitmap.c | |
parent | 517c3f5a8683c950efe17aa01e55efb3b0f2c770 (diff) |
pinctrl: at91-pio4: Make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix build error
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 PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix it.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1606209423-4742-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions