Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

kbuild test robot and committed by
Borislav Petkov
de277678 54b4a8f5

+1 -1
+1 -1
drivers/edac/mce_amd_inj.c
··· 44 44 }; 45 45 46 46 /* Set default injection to SW_INJ */ 47 - enum injection_type inj_type = SW_INJ; 47 + static enum injection_type inj_type = SW_INJ; 48 48 49 49 #define MCE_INJECT_SET(reg) \ 50 50 static int inj_##reg##_set(void *data, u64 val) \