summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-01 03:59:11 +0200
committerLee Jones <lee.jones@linaro.org>2013-08-01 10:55:21 +0200
commita1ca138ff05f1f7b5f752fae0df6e34f0f58f16c (patch)
tree62ee2109030508f3a422452a12f7f1affa265534 /drivers
parentmfd: max8997: Cast void pointer to data of max8997_pmic_dt_match (diff)
downloadlinux-a1ca138ff05f1f7b5f752fae0df6e34f0f58f16c.tar.xz
linux-a1ca138ff05f1f7b5f752fae0df6e34f0f58f16c.zip
mfd: lpc_ich: Staticize struct 'lpc_chipset_info'
'lpc_chipset_info' is used only in this file. Fix the following sparse warning: drivers/mfd/lpc_ich.c:216:21: warning: symbol 'lpc_chipset_info' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to '')
-rw-r--r--drivers/mfd/lpc_ich.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
index 24033324c17a..9483bc8472a5 100644
--- a/drivers/mfd/lpc_ich.c
+++ b/drivers/mfd/lpc_ich.c
@@ -213,7 +213,7 @@ enum lpc_chipsets {
LPC_COLETO, /* Coleto Creek */
};
-struct lpc_ich_info lpc_chipset_info[] = {
+static struct lpc_ich_info lpc_chipset_info[] = {
[LPC_ICH] = {
.name = "ICH",
.iTCO_version = 1,