diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-10 21:29:40 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-13 09:04:31 -0500 |
commit | 9b2b1740e316a3e114974ffeb73b0ff630061b94 (patch) | |
tree | 6ea94175e28ae627b23ad36a610e6efa8d2123b1 | |
parent | e38d457de7be63e6ced1ea254aa51466deb1fef0 (diff) |
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>
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-spear.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear.c b/drivers/pinctrl/spear/pinctrl-spear.c index f9483ae42726..11bd8722a007 100644 --- a/drivers/pinctrl/spear/pinctrl-spear.c +++ b/drivers/pinctrl/spear/pinctrl-spear.c | |||
@@ -144,9 +144,10 @@ static void spear_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, | |||
144 | seq_printf(s, " " DRIVER_NAME); | 144 | seq_printf(s, " " DRIVER_NAME); |
145 | } | 145 | } |
146 | 146 | ||
147 | int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, | 147 | static int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, |
148 | struct device_node *np_config, | 148 | struct device_node *np_config, |
149 | struct pinctrl_map **map, unsigned *num_maps) | 149 | struct pinctrl_map **map, |
150 | unsigned *num_maps) | ||
150 | { | 151 | { |
151 | struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); | 152 | struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); |
152 | struct device_node *np; | 153 | struct device_node *np; |
@@ -191,8 +192,9 @@ int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, | |||
191 | return 0; | 192 | return 0; |
192 | } | 193 | } |
193 | 194 | ||
194 | void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, | 195 | static void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, |
195 | struct pinctrl_map *map, unsigned num_maps) | 196 | struct pinctrl_map *map, |
197 | unsigned num_maps) | ||
196 | { | 198 | { |
197 | kfree(map); | 199 | kfree(map); |
198 | } | 200 | } |