提交 de277678 编写于 作者: K kbuild test robot 提交者: Borislav Petkov

EDAC, mce_amd_inj: Make inj_type static

It is used there only anyway.
Signed-off-by: NFengguang 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-sb04Signed-off-by: NBorislav Petkov <bp@suse.de>
上级 54b4a8f5
...@@ -44,7 +44,7 @@ static const char * const flags_options[] = { ...@@ -44,7 +44,7 @@ static const char * const flags_options[] = {
}; };
/* Set default injection to SW_INJ */ /* 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) \ #define MCE_INJECT_SET(reg) \
static int inj_##reg##_set(void *data, u64 val) \ static int inj_##reg##_set(void *data, u64 val) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册