From: Thomas Bogendoerfer Date: Fri, 19 Jan 2024 13:36:34 +0000 (+0100) Subject: MIPS: fw arc: Fix missing prototypes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e3a4f1b7ada8360c1838ac3aad9837749a698c7a;p=linux.git MIPS: fw arc: Fix missing prototypes Make ArcGetMemoryDescriptor() static since it's only needed internally. Signed-off-by: Thomas Bogendoerfer Reviewed-by: Florian Fainelli --- diff --git a/arch/mips/fw/arc/memory.c b/arch/mips/fw/arc/memory.c index 66188739f54d2..fb78e6fd5de48 100644 --- a/arch/mips/fw/arc/memory.c +++ b/arch/mips/fw/arc/memory.c @@ -37,7 +37,7 @@ static unsigned int nr_prom_mem __initdata; */ #define ARC_PAGE_SHIFT 12 -struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current) +static struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current) { return (struct linux_mdesc *) ARC_CALL1(get_mdesc, Current); }