Commit 9b2b1740 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij

pinctrl: spear: Staticize non-exported symbols

They are not referenced outside of this file, make them static.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e38d457d
...@@ -144,9 +144,10 @@ static void spear_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, ...@@ -144,9 +144,10 @@ static void spear_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev,
seq_printf(s, " " DRIVER_NAME); seq_printf(s, " " DRIVER_NAME);
} }
int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, static int spear_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)
{ {
struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
struct device_node *np; struct device_node *np;
...@@ -191,8 +192,9 @@ int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, ...@@ -191,8 +192,9 @@ int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
return 0; return 0;
} }
void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, static void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev,
struct pinctrl_map *map, unsigned num_maps) struct pinctrl_map *map,
unsigned num_maps)
{ {
kfree(map); kfree(map);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment