Commit 9b2b1740e316a3e114974ffeb73b0ff630061b94

Authored by Axel Lin
Committed by Linus Walleij
1 parent e38d457de7

pinctrl: spear: 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: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Showing 1 changed file with 7 additions and 5 deletions Side-by-side Diff

drivers/pinctrl/spear/pinctrl-spear.c
... ... @@ -144,9 +144,10 @@
144 144 seq_printf(s, " " DRIVER_NAME);
145 145 }
146 146  
147   -int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
148   - struct device_node *np_config,
149   - struct pinctrl_map **map, unsigned *num_maps)
  147 +static int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
  148 + struct device_node *np_config,
  149 + struct pinctrl_map **map,
  150 + unsigned *num_maps)
150 151 {
151 152 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
152 153 struct device_node *np;
... ... @@ -191,8 +192,9 @@
191 192 return 0;
192 193 }
193 194  
194   -void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev,
195   - struct pinctrl_map *map, unsigned num_maps)
  195 +static void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev,
  196 + struct pinctrl_map *map,
  197 + unsigned num_maps)
196 198 {
197 199 kfree(map);
198 200 }