[PATCH bp] EDAC, mce_amd_inj: inj_type can be static

From: kbuild test robot
Date: Fri Jun 05 2015 - 07:24:56 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
mce_amd_inj.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/mce_amd_inj.c b/drivers/edac/mce_amd_inj.c
index 2a0c829..46a6b0e 100644
--- a/drivers/edac/mce_amd_inj.c
+++ b/drivers/edac/mce_amd_inj.c
@@ -44,7 +44,7 @@ static const char * const flags_options[] = {
};

/* Set default injection to SW_INJ */
-enum injection_type inj_type = SW_INJ;
+static enum injection_type inj_type = SW_INJ;

#define MCE_INJECT_SET(reg) \
static int inj_##reg##_set(void *data, u64 val) \
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/