x86/amd_nb: Make amd_northbridges internal to amd_nb.c
authorYazen Ghannam <Yazen.Ghannam@amd.com>
Thu, 10 Nov 2016 21:10:53 +0000 (15:10 -0600)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Nov 2016 19:46:37 +0000 (20:46 +0100)
commitc7993890e772c450764d39ba872444307bbdd460
tree7bbbafbc64d3e116c5d41845579cc03c82cd1f74
parent18807ddb7f88d4ac3797302bafb18143d573e66f
x86/amd_nb: Make amd_northbridges internal to amd_nb.c

Hide amd_northbridges in amd_nb.c so that external callers will have to
use the exported accessor functions.

Also, fix some checkpatch.pl warnings.

Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1478812257-5424-2-git-send-email-Yazen.Ghannam@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/amd_nb.h
arch/x86/kernel/amd_nb.c