mfd: lpc_ich: Staticize struct 'lpc_chipset_info'
authorJingoo Han <jg1.han@samsung.com>
Thu, 1 Aug 2013 01:59:11 +0000 (10:59 +0900)
committerLee Jones <lee.jones@linaro.org>
Thu, 1 Aug 2013 08:55:21 +0000 (09:55 +0100)
'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>
drivers/mfd/lpc_ich.c

index 2403332..9483bc8 100644 (file)
@@ -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,