summaryrefslogtreecommitdiffstats
path: root/arch/mips/fw/arc/identify.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-10-09 15:27:12 +0200
committerPaul Burton <paul.burton@mips.com>2019-10-09 14:55:37 -0700
commitd11646b5ce930c4d5e933c4d97db5a06a67a211b (patch)
tree4d572766784aa211353eb6840a7887a3147fad91 /arch/mips/fw/arc/identify.c
parent3c0be5849259b729580c23549330973a2dd513a2 (diff)
downloadblackbird-op-linux-d11646b5ce930c4d5e933c4d97db5a06a67a211b.tar.gz
blackbird-op-linux-d11646b5ce930c4d5e933c4d97db5a06a67a211b.zip
MIPS: fw: arc: remove unused ARC code
Current kernel uses only a few ARC calls. Drop all unused ARC functions. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/fw/arc/identify.c')
-rw-r--r--arch/mips/fw/arc/identify.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/fw/arc/identify.c b/arch/mips/fw/arc/identify.c
index f90266c02c9d..7530c7b2fd39 100644
--- a/arch/mips/fw/arc/identify.c
+++ b/arch/mips/fw/arc/identify.c
@@ -87,6 +87,11 @@ const char *get_system_type(void)
return system_type;
}
+static pcomponent * __init ArcGetChild(pcomponent *Current)
+{
+ return (pcomponent *) ARC_CALL1(child_component, Current);
+}
+
void __init prom_identify_arch(void)
{
pcomponent *p;
OpenPOWER on IntegriCloud