mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
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>
This commit is contained in:
parent
54b4a8f578
commit
de2776787f
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user