diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-07 11:10:17 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-11 13:36:13 -0500 |
commit | 89377aa5156a93e73a3f7c7ccdc0d0fecf65e0d2 (patch) | |
tree | 2f9e4944ab89870faa9cb50b6a3aeec6fe225772 /drivers/pinctrl/pinctrl-lantiq.c | |
parent | 5c084ec82015553ab8972cd251fc2e5757e4a379 (diff) |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-lantiq.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-lantiq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pinctrl/pinctrl-lantiq.c b/drivers/pinctrl/pinctrl-lantiq.c index d670ad6e6e49..15f501d89026 100644 --- a/drivers/pinctrl/pinctrl-lantiq.c +++ b/drivers/pinctrl/pinctrl-lantiq.c | |||
@@ -46,8 +46,8 @@ static int ltq_get_group_pins(struct pinctrl_dev *pctrldev, | |||
46 | return 0; | 46 | return 0; |
47 | } | 47 | } |
48 | 48 | ||
49 | void ltq_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, | 49 | static void ltq_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, |
50 | struct pinctrl_map *map, unsigned num_maps) | 50 | struct pinctrl_map *map, unsigned num_maps) |
51 | { | 51 | { |
52 | int i; | 52 | int i; |
53 | 53 | ||
@@ -128,10 +128,10 @@ static int ltq_pinctrl_dt_subnode_size(struct device_node *np) | |||
128 | return ret; | 128 | return ret; |
129 | } | 129 | } |
130 | 130 | ||
131 | int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, | 131 | static int ltq_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, |
132 | struct device_node *np_config, | 132 | struct device_node *np_config, |
133 | struct pinctrl_map **map, | 133 | struct pinctrl_map **map, |
134 | unsigned *num_maps) | 134 | unsigned *num_maps) |
135 | { | 135 | { |
136 | struct pinctrl_map *tmp; | 136 | struct pinctrl_map *tmp; |
137 | struct device_node *np; | 137 | struct device_node *np; |