MIPS: fw arc: Fix missing prototypes
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 19 Jan 2024 13:36:34 +0000 (14:36 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 22 Jan 2024 10:12:01 +0000 (11:12 +0100)
Make ArcGetMemoryDescriptor() static since it's only needed internally.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
arch/mips/fw/arc/memory.c

index 66188739f54d20a41ce18acb0a88a4fdf16e8718..fb78e6fd5de4804e221fba63bceeb4dcd4a492a9 100644 (file)
@@ -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);
 }