diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/mm/ioremap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/mm/ioremap.c b/arch/sh/mm/ioremap.c index e8b65f645aed..a130b2278e92 100644 --- a/arch/sh/mm/ioremap.c +++ b/arch/sh/mm/ioremap.c | |||
@@ -33,8 +33,9 @@ | |||
33 | * have to convert them into an offset in a page-aligned mapping, but the | 33 | * have to convert them into an offset in a page-aligned mapping, but the |
34 | * caller shouldn't need to know that small detail. | 34 | * caller shouldn't need to know that small detail. |
35 | */ | 35 | */ |
36 | void __iomem *__ioremap_caller(unsigned long phys_addr, unsigned long size, | 36 | void __iomem * __init_refok |
37 | unsigned long flags, void *caller) | 37 | __ioremap_caller(unsigned long phys_addr, unsigned long size, |
38 | unsigned long flags, void *caller) | ||
38 | { | 39 | { |
39 | struct vm_struct *area; | 40 | struct vm_struct *area; |
40 | unsigned long offset, last_addr, addr, orig_addr; | 41 | unsigned long offset, last_addr, addr, orig_addr; |