pinctrl: lantiq: Staticize non-exported symbols
Both ltq_pinctrl_dt_node_to_map() and ltq_pinctrl_dt_free_map() are not referenced outside of this file. Make them static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: John Crispin <blogic@openwrt.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
5c084ec820
commit
89377aa515
|
@ -46,7 +46,7 @@ static int ltq_get_group_pins(struct pinctrl_dev *pctrldev,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ltq_pinctrl_dt_free_map(struct pinctrl_dev *pctldev,
|
static void ltq_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;
|
||||||
|
@ -128,7 +128,7 @@ static int ltq_pinctrl_dt_subnode_size(struct device_node *np)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
|
static int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
|
||||||
struct device_node *np_config,
|
struct device_node *np_config,
|
||||||
struct pinctrl_map **map,
|
struct pinctrl_map **map,
|
||||||
unsigned *num_maps)
|
unsigned *num_maps)
|
||||||
|
|
Loading…
Reference in New Issue