diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-10 21:31:31 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-15 05:21:47 -0500 |
commit | 102caad905d919cc981f8ce799e5a63b6889b979 (patch) | |
tree | 26ed6a62823c78d346ce5a07ff2f644c57573d12 /drivers/pinctrl/pinctrl-tegra.c | |
parent | 896a95ba13879ad6a595822893a8993254757c0a (diff) |
pinctrl: tegra: 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: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-tegra.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-tegra.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra.c b/drivers/pinctrl/pinctrl-tegra.c index f7fe91ebd8da..e9f80a54b3d0 100644 --- a/drivers/pinctrl/pinctrl-tegra.c +++ b/drivers/pinctrl/pinctrl-tegra.c | |||
@@ -178,8 +178,9 @@ static int add_config(struct device *dev, unsigned long **configs, | |||
178 | return 0; | 178 | return 0; |
179 | } | 179 | } |
180 | 180 | ||
181 | void tegra_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, | 181 | static void tegra_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, |
182 | struct pinctrl_map *map, unsigned num_maps) | 182 | struct pinctrl_map *map, |
183 | unsigned num_maps) | ||
183 | { | 184 | { |
184 | int i; | 185 | int i; |
185 | 186 | ||
@@ -209,11 +210,11 @@ static const struct cfg_param { | |||
209 | {"nvidia,slew-rate-rising", TEGRA_PINCONF_PARAM_SLEW_RATE_RISING}, | 210 | {"nvidia,slew-rate-rising", TEGRA_PINCONF_PARAM_SLEW_RATE_RISING}, |
210 | }; | 211 | }; |
211 | 212 | ||
212 | int tegra_pinctrl_dt_subnode_to_map(struct device *dev, | 213 | static int tegra_pinctrl_dt_subnode_to_map(struct device *dev, |
213 | struct device_node *np, | 214 | struct device_node *np, |
214 | struct pinctrl_map **map, | 215 | struct pinctrl_map **map, |
215 | unsigned *reserved_maps, | 216 | unsigned *reserved_maps, |
216 | unsigned *num_maps) | 217 | unsigned *num_maps) |
217 | { | 218 | { |
218 | int ret, i; | 219 | int ret, i; |
219 | const char *function; | 220 | const char *function; |
@@ -288,9 +289,10 @@ exit: | |||
288 | return ret; | 289 | return ret; |
289 | } | 290 | } |
290 | 291 | ||
291 | int tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, | 292 | static int tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, |
292 | struct device_node *np_config, | 293 | struct device_node *np_config, |
293 | struct pinctrl_map **map, unsigned *num_maps) | 294 | struct pinctrl_map **map, |
295 | unsigned *num_maps) | ||
294 | { | 296 | { |
295 | unsigned reserved_maps; | 297 | unsigned reserved_maps; |
296 | struct device_node *np; | 298 | struct device_node *np; |