Commit 89377aa5156a93e73a3f7c7ccdc0d0fecf65e0d2
Committed by
Linus Walleij
1 parent
5c084ec820
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 6 additions and 6 deletions Side-by-side Diff
drivers/pinctrl/pinctrl-lantiq.c
... | ... | @@ -46,8 +46,8 @@ |
46 | 46 | return 0; |
47 | 47 | } |
48 | 48 | |
49 | -void ltq_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, | |
50 | - struct pinctrl_map *map, unsigned num_maps) | |
49 | +static void ltq_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, | |
50 | + struct pinctrl_map *map, unsigned num_maps) | |
51 | 51 | { |
52 | 52 | int i; |
53 | 53 | |
... | ... | @@ -128,10 +128,10 @@ |
128 | 128 | return ret; |
129 | 129 | } |
130 | 130 | |
131 | -int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, | |
132 | - struct device_node *np_config, | |
133 | - struct pinctrl_map **map, | |
134 | - unsigned *num_maps) | |
131 | +static int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, | |
132 | + struct device_node *np_config, | |
133 | + struct pinctrl_map **map, | |
134 | + unsigned *num_maps) | |
135 | 135 | { |
136 | 136 | struct pinctrl_map *tmp; |
137 | 137 | struct device_node *np; |