Skip to content

Commit e3a4f1b

Browse files
committed
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>
1 parent f134bd1 commit e3a4f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/fw/arc/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static unsigned int nr_prom_mem __initdata;
3737
*/
3838
#define ARC_PAGE_SHIFT 12
3939

40-
struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current)
40+
static struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current)
4141
{
4242
return (struct linux_mdesc *) ARC_CALL1(get_mdesc, Current);
4343
}

0 commit comments

Comments
 (0)