aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-u300.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-05 08:42:16 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-11-11 13:06:03 -0500
commite1b29abef69e34a42169cd65d7249b18574c94e8 (patch)
tree28821ce320d84437cd070bf87f071ee427ba7468 /drivers/pinctrl/pinctrl-u300.c
parentb36bdc5911effe819e415b144388853bf07a543b (diff)
pinctrl: u300: Staticize non-exported symbols
Staticize u300_pin_config_get() and u300_pin_config_set() functions. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-u300.c')
-rw-r--r--drivers/pinctrl/pinctrl-u300.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/pinctrl/pinctrl-u300.c b/drivers/pinctrl/pinctrl-u300.c
index 2e9825e304af..d756cce588fd 100644
--- a/drivers/pinctrl/pinctrl-u300.c
+++ b/drivers/pinctrl/pinctrl-u300.c
@@ -1052,9 +1052,8 @@ static struct pinctrl_gpio_range *u300_match_gpio_range(unsigned pin)
1052 return NULL; 1052 return NULL;
1053} 1053}
1054 1054
1055int u300_pin_config_get(struct pinctrl_dev *pctldev, 1055static int u300_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin,
1056 unsigned pin, 1056 unsigned long *config)
1057 unsigned long *config)
1058{ 1057{
1059 struct pinctrl_gpio_range *range = u300_match_gpio_range(pin); 1058 struct pinctrl_gpio_range *range = u300_match_gpio_range(pin);
1060 1059
@@ -1067,9 +1066,8 @@ int u300_pin_config_get(struct pinctrl_dev *pctldev,
1067 config); 1066 config);
1068} 1067}
1069 1068
1070int u300_pin_config_set(struct pinctrl_dev *pctldev, 1069static int u300_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin,
1071 unsigned pin, 1070 unsigned long config)
1072 unsigned long config)
1073{ 1071{
1074 struct pinctrl_gpio_range *range = u300_match_gpio_range(pin); 1072 struct pinctrl_gpio_range *range = u300_match_gpio_range(pin);
1075 int ret; 1073 int ret;