sh: fix platform_resource_setup_memory() section mismatch

This patch kills a section mismatch for platform_resource_setup_memory().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Magnus Damm 2008-08-27 18:21:29 +09:00 committed by Paul Mundt
parent 5734493bac
commit c773d8af8e
1 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ static int __init memchunk_setup(char *str)
} }
__setup("memchunk.", memchunk_setup); __setup("memchunk.", memchunk_setup);
static void memchunk_cmdline_override(char *name, unsigned long *sizep) static void __init memchunk_cmdline_override(char *name, unsigned long *sizep)
{ {
char *p = boot_command_line; char *p = boot_command_line;
int k = strlen(name); int k = strlen(name);
@ -118,7 +118,7 @@ static void memchunk_cmdline_override(char *name, unsigned long *sizep)
} }
} }
int platform_resource_setup_memory(struct platform_device *pdev, int __init platform_resource_setup_memory(struct platform_device *pdev,
char *name, unsigned long memsize) char *name, unsigned long memsize)
{ {
struct resource *r; struct resource *r;