diff options
author | Zheng Bin <zhengbin13@huawei.com> | 2022-03-25 08:44:50 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-03-25 21:14:58 +0100 |
commit | 44e445ed9413596760284c88870e25a1be0261ff (patch) | |
tree | 3dd0360e6b13b5225e3f4bc9b903933d8efdf5cc /drivers/iio | |
parent | pinctrl: qcom-pmic-gpio: Add support for pm8450 (diff) | |
download | linux-44e445ed9413596760284c88870e25a1be0261ff.tar.xz linux-44e445ed9413596760284c88870e25a1be0261ff.zip |
pinctrl: nuvoton: wpcm450: Fix build error without OF
If OF is not set, bulding fails:
drivers/pinctrl/nuvoton/pinctrl-wpcm450.o: In function `wpcm450_dt_node_to_map':
pinctrl-wpcm450.c:(.text+0x404): undefined reference to `pinconf_generic_dt_node_to_map'
Make PINCTRL_WPCM450 depends on OF to fix this.
Fixes: a1d1e0e3d80a ("pinctrl: nuvoton: Add driver for WPCM450")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/20220325074450.3228840-1-zhengbin13@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions