OSDN Git Service

EDAC/amd64: Make struct amd64_family_type global
authorYazen Ghannam <yazen.ghannam@amd.com>
Tue, 22 Oct 2019 20:35:09 +0000 (20:35 +0000)
committerBorislav Petkov <bp@suse.de>
Wed, 6 Nov 2019 09:58:12 +0000 (10:58 +0100)
commit38ddd4d1574530e1447b6ad91d27225d0f7662fb
tree58895cf482dbfb6dd02818a7e8f9e5541031ceec
parent466503d6b1b33be46ab87c6090f0ade6c6011cbc
EDAC/amd64: Make struct amd64_family_type global

The struct amd64_family_type doesn't change between multiple nodes and
instances of the module, so make it global.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Robert Richter <rrichter@marvell.com>
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20191106012448.243970-2-Yazen.Ghannam@amd.com
drivers/edac/amd64_edac.c