diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-06-05 19:24:26 +0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-06-24 18:16:11 +0200 |
commit | de2776787faa6859097a946e32f618f62fbce4c9 (patch) | |
tree | fcf2c8d30bc585268145add27b0dfd1ae6ed2e01 /drivers/edac | |
parent | 54b4a8f57848bb08dcbdfba94b9b1ddef1c23358 (diff) |
EDAC, mce_amd_inj: Make inj_type static
It is used there only anyway.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: kbuild-all@01.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20150605112426.GA97073@lkp-sb04
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/mce_amd_inj.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) \ |