diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-03-21 18:28:55 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2014-04-17 15:41:05 (GMT) |
commit | a45fa436854a4116c19dd8794c9b033a3cf117bc (patch) | |
tree | 14c790480fc5d374e3b03868bc48e29a5c1ba512 /arch/arm/cpu/tegra-common | |
parent | e296995767e645ed047bcbec90923297a24d4d5a (diff) | |
download | u-boot-a45fa436854a4116c19dd8794c9b033a3cf117bc.tar.xz |
ARM: tegra: reduce public pinmux API
Remove a few unused functions from the pinmux header. They aren't
currently used, and removing them prevents any new usage from appearing.
This will ease moving to just pinmux_config_table() and
padgrp_config_table() in the future.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/cpu/tegra-common')
-rw-r--r-- | arch/arm/cpu/tegra-common/pinmux-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/tegra-common/pinmux-common.c b/arch/arm/cpu/tegra-common/pinmux-common.c index 10f68ba..51ba6ee 100644 --- a/arch/arm/cpu/tegra-common/pinmux-common.c +++ b/arch/arm/cpu/tegra-common/pinmux-common.c @@ -131,7 +131,7 @@ void pinmux_set_pullupdown(enum pmux_pingrp pin, enum pmux_pull pupd) writel(val, reg); } -void pinmux_set_tristate(enum pmux_pingrp pin, int tri) +static void pinmux_set_tristate(enum pmux_pingrp pin, int tri) { u32 *reg = TRI_REG(pin); u32 val; @@ -275,7 +275,7 @@ static void pinmux_set_rcv_sel(enum pmux_pingrp pin, #endif /* TEGRA_PMX_HAS_RCV_SEL */ #endif /* TEGRA_PMX_HAS_PIN_IO_BIT_ETC */ -void pinmux_config_pingroup(const struct pingroup_config *config) +static void pinmux_config_pingroup(const struct pingroup_config *config) { enum pmux_pingrp pin = config->pingroup; |