summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2020-03-18 15:25:08 +0000
committerThierry Reding <treding@nvidia.com>2020-05-07 21:23:00 +0200
commit5098e2b95e8e6f56266c2d5c180c75917090082a (patch)
tree5b54f99b9a36ed086cf12d0a6f7f1046134c4ce7 /drivers/soc
parent37558ac85c197a5ff776b7b2f53046877f2bd4ee (diff)
soc/tegra: pmc: Select GENERIC_PINCONF
I have hit the following build error: armv7a-hardfloat-linux-gnueabi-ld: drivers/soc/tegra/pmc.o: in function `pinconf_generic_dt_node_to_map_pin': pmc.c:(.text+0x500): undefined reference to `pinconf_generic_dt_node_to_map' armv7a-hardfloat-linux-gnueabi-ld: drivers/soc/tegra/pmc.o:(.rodata+0x1f88): undefined reference to `pinconf_generic_dt_free_map' So SOC_TEGRA_PMC should select GENERIC_PINCONF. Fixes: 4a37f11c8f57 ("soc/tegra: pmc: Implement pad configuration via pinctrl") Cc: stable <stable@vger.kernel.org> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/tegra/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig
index 3693532949b8..6bc603d0b9d9 100644
--- a/drivers/soc/tegra/Kconfig
+++ b/drivers/soc/tegra/Kconfig
@@ -133,6 +133,7 @@ config SOC_TEGRA_FLOWCTRL
config SOC_TEGRA_PMC
bool
+ select GENERIC_PINCONF
config SOC_TEGRA_POWERGATE_BPMP
def_bool y