diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2024-01-19 14:36:34 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2024-01-22 11:12:01 +0100 |
commit | e3a4f1b7ada8360c1838ac3aad9837749a698c7a (patch) | |
tree | e25792f96c38067ffd614d7de2787506bc834cb9 | |
parent | f134bd1ebc28d40010328e5b314e10575e3550e0 (diff) | |
download | linux-e3a4f1b7ada8360c1838ac3aad9837749a698c7a.tar.gz linux-e3a4f1b7ada8360c1838ac3aad9837749a698c7a.tar.bz2 linux-e3a4f1b7ada8360c1838ac3aad9837749a698c7a.zip |
MIPS: fw arc: Fix missing prototypes
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>
-rw-r--r-- | arch/mips/fw/arc/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/fw/arc/memory.c b/arch/mips/fw/arc/memory.c index 66188739f54d..fb78e6fd5de4 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); } |