diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-08-27 05:21:29 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-08-28 01:53:08 -0400 |
commit | c773d8af8ebccb723e9843c1e73840b2c5e00572 (patch) | |
tree | a6ea72b263f0a6ff3755404b494ee859f4e47dd1 /arch | |
parent | 5734493bac88b28d8d7e2f262305fd6e83545ac5 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/mm/consistent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c index 895bb3f335c7..64b8f7f96f9a 100644 --- a/arch/sh/mm/consistent.c +++ b/arch/sh/mm/consistent.c | |||
@@ -101,7 +101,7 @@ static int __init memchunk_setup(char *str) | |||
101 | } | 101 | } |
102 | __setup("memchunk.", memchunk_setup); | 102 | __setup("memchunk.", memchunk_setup); |
103 | 103 | ||
104 | static void memchunk_cmdline_override(char *name, unsigned long *sizep) | 104 | static void __init memchunk_cmdline_override(char *name, unsigned long *sizep) |
105 | { | 105 | { |
106 | char *p = boot_command_line; | 106 | char *p = boot_command_line; |
107 | int k = strlen(name); | 107 | int k = strlen(name); |
@@ -118,8 +118,8 @@ static void memchunk_cmdline_override(char *name, unsigned long *sizep) | |||
118 | } | 118 | } |
119 | } | 119 | } |
120 | 120 | ||
121 | int platform_resource_setup_memory(struct platform_device *pdev, | 121 | int __init platform_resource_setup_memory(struct platform_device *pdev, |
122 | char *name, unsigned long memsize) | 122 | char *name, unsigned long memsize) |
123 | { | 123 | { |
124 | struct resource *r; | 124 | struct resource *r; |
125 | dma_addr_t dma_handle; | 125 | dma_addr_t dma_handle; |