From: kbuild test robot Date: Fri, 5 Jun 2015 11:24:26 +0000 (+0800) Subject: EDAC, mce_amd_inj: Make inj_type static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de2776787faa6859097a946e32f618f62fbce4c9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git EDAC, mce_amd_inj: Make inj_type static It is used there only anyway. Signed-off-by: Fengguang Wu Cc: Aravind Gopalakrishnan Cc: Mauro Carvalho Chehab Cc: kbuild-all@01.org Cc: linux-edac Link: http://lkml.kernel.org/r/20150605112426.GA97073@lkp-sb04 Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/mce_amd_inj.c b/drivers/edac/mce_amd_inj.c index b8385ccd1064..eb8356e2df3e 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) \