diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-19 12:45:05 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-19 12:45:05 -0500 |
commit | 70911b861bfbba1851cbb3497635030f34703c7a (patch) | |
tree | 0176262362f6011cdb5a199a895fbcb5f11445e8 /arch/sh/include/asm/io.h | |
parent | 31c3af503eb75488aafb7a3d292b9e00962f2cee (diff) |
sh: Shut up noisy IOREMAP_FIXED=n build.
The ioremap_fixed() stub neglected to provide a return value, resulting
in a fairly noisy build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/io.h')
-rw-r--r-- | arch/sh/include/asm/io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index 4bad72a1b39e..e4f563f472eb 100644 --- a/arch/sh/include/asm/io.h +++ b/arch/sh/include/asm/io.h | |||
@@ -245,10 +245,11 @@ extern int iounmap_fixed(void __iomem *); | |||
245 | extern void ioremap_fixed_init(void); | 245 | extern void ioremap_fixed_init(void); |
246 | #else | 246 | #else |
247 | static inline void __iomem * | 247 | static inline void __iomem * |
248 | ioremap_fixed(resource_size t phys_addr, unsigned long offset, | 248 | ioremap_fixed(resource_size_t phys_addr, unsigned long offset, |
249 | unsigned long size, pgprot_t prot) | 249 | unsigned long size, pgprot_t prot) |
250 | { | 250 | { |
251 | BUG(); | 251 | BUG(); |
252 | return NULL; | ||
252 | } | 253 | } |
253 | 254 | ||
254 | static inline void ioremap_fixed_init(void) { } | 255 | static inline void ioremap_fixed_init(void) { } |