summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-03-15 08:53:15 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-03-28 01:48:08 +0400
commit1ef465c0590703e216f921af66fb7df13b3e2cbe (patch)
tree5681d0ff3bc42034a1e71a60d382f3779a8f6875 /drivers/pinctrl
parent3c93600d3e7aa28d4e71790adda9be0e3baa2f9f (diff)
downloadlinux-1ef465c0590703e216f921af66fb7df13b3e2cbe.tar.xz
pinctrl: generic: Make 'conf_items' static
'conf_items' is used only in this file. Silences the below sparse warning: drivers/pinctrl/pinconf-generic.c:37:24: warning: symbol 'conf_items' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinconf-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index 9c436858812c..791e6a39e752 100644
--- a/drivers/pinctrl/pinconf-generic.c
+++ b/drivers/pinctrl/pinconf-generic.c
@@ -34,7 +34,7 @@ struct pin_config_item {
#define PCONFDUMP(a, b, c) { .param = a, .display = b, .format = c }
-struct pin_config_item conf_items[] = {
+static struct pin_config_item conf_items[] = {
PCONFDUMP(PIN_CONFIG_BIAS_DISABLE, "input bias disabled", NULL),
PCONFDUMP(PIN_CONFIG_BIAS_HIGH_IMPEDANCE, "input bias high impedance", NULL),
PCONFDUMP(PIN_CONFIG_BIAS_PULL_UP, "input bias pull up", NULL),