MIPS: CPC: Remove "weak" from mips_cpc_phys_base() and make it static
authorBjorn Helgaas <bhelgaas@google.com>
Sun, 12 Jul 2015 23:10:56 +0000 (18:10 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Aug 2015 13:23:37 +0000 (15:23 +0200)
commit8dedde6b289c51ba216fdf5467fc85a673775489
tree2f441cbebfcae9e934b9ef30ad5294c3407b3d57
parent9b4685de77afd688407fd56cc350083a0a6a0516
MIPS: CPC: Remove "weak" from mips_cpc_phys_base() and make it static

There's only one implementation of mips_cpc_phys_base(), and it's only used
within the same file, so it doesn't need to be weak, and it doesn't need an
extern declaration.

Remove the extern mips_cpc_phys_base() declaration and make it static.

[ralf@linux-mips.org: Fixed conflict.]

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: linux-mips@linux-mips.org
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10681/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-cpc.h
arch/mips/kernel/mips-cpc.c