pinctrl: tegra: Staticize non-exported symbols
They are not referenced outside of this file, make them static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
896a95ba13
commit
102caad905
1 changed files with 12 additions and 10 deletions
|
@ -178,8 +178,9 @@ static int add_config(struct device *dev, unsigned long **configs,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void tegra_pinctrl_dt_free_map(struct pinctrl_dev *pctldev,
|
static void tegra_pinctrl_dt_free_map(struct pinctrl_dev *pctldev,
|
||||||
struct pinctrl_map *map, unsigned num_maps)
|
struct pinctrl_map *map,
|
||||||
|
unsigned num_maps)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -209,11 +210,11 @@ static const struct cfg_param {
|
||||||
{"nvidia,slew-rate-rising", TEGRA_PINCONF_PARAM_SLEW_RATE_RISING},
|
{"nvidia,slew-rate-rising", TEGRA_PINCONF_PARAM_SLEW_RATE_RISING},
|
||||||
};
|
};
|
||||||
|
|
||||||
int tegra_pinctrl_dt_subnode_to_map(struct device *dev,
|
static int tegra_pinctrl_dt_subnode_to_map(struct device *dev,
|
||||||
struct device_node *np,
|
struct device_node *np,
|
||||||
struct pinctrl_map **map,
|
struct pinctrl_map **map,
|
||||||
unsigned *reserved_maps,
|
unsigned *reserved_maps,
|
||||||
unsigned *num_maps)
|
unsigned *num_maps)
|
||||||
{
|
{
|
||||||
int ret, i;
|
int ret, i;
|
||||||
const char *function;
|
const char *function;
|
||||||
|
@ -288,9 +289,10 @@ exit:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
|
static int tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
|
||||||
struct device_node *np_config,
|
struct device_node *np_config,
|
||||||
struct pinctrl_map **map, unsigned *num_maps)
|
struct pinctrl_map **map,
|
||||||
|
unsigned *num_maps)
|
||||||
{
|
{
|
||||||
unsigned reserved_maps;
|
unsigned reserved_maps;
|
||||||
struct device_node *np;
|
struct device_node *np;
|
||||||
|
|
Loading…
Add table
Reference in a new issue