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 <[email protected]> Signed-off-by: Lee Jones <[email protected]>
diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index 2403332..9483bc8 100644 --- a/drivers/mfd/lpc_ich.c +++ b/drivers/mfd/lpc_ich.c
@@ -213,7 +213,7 @@ 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,