diff options
author | Ren Zhijie <renzhijie2@huawei.com> | 2022-11-21 16:26:08 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-11-21 16:36:03 +0300 |
commit | c0f358fde37a6af517850c1f90e7d4241f472da9 (patch) | |
tree | 84fd01c79882f6a87782d67fbcd129192ebd505b /tools/perf/scripts/python/stackcollapse.py | |
parent | d53f77d77f08321b2c7e405fdb310c59e906098e (diff) | |
download | linux-c0f358fde37a6af517850c1f90e7d4241f472da9.tar.xz |
pinctrl: pinctrl-loongson2: fix Kconfig dependency
If CONFIG_PINCTRL_LOONGSON2=y and CONFIG_OF is not set,
gcc complained about undefined reference:
drivers/pinctrl/pinctrl-loongson2.o: In function `pinconf_generic_dt_node_to_map_all':
pinctrl-loongson2.c:(.text+0x1c4): undefined reference to
`pinconf_generic_dt_node_to_map'
To fix this error, add depends on OF to
config PINCTRL_LOONGSON2.
Fixes: f73f88acbc18 ("pinctrl: pinctrl-loongson2: add pinctrl driver support")
Signed-off-by: Ren Zhijie <renzhijie2@huawei.com>
Link: https://lore.kernel.org/r/20221121132608.230645-1-renzhijie2@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions