projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c3af5
)
sh: Shut up noisy IOREMAP_FIXED=n build.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 19 Jan 2010 17:45:05 +0000
(
02:45
+0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 19 Jan 2010 17:45:05 +0000
(
02:45
+0900)
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>
arch/sh/include/asm/io.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/io.h
b/arch/sh/include/asm/io.h
index 4bad72a1b39e94433c7bbe825552f9651b632728..e4f563f472ebafe99a6cbad9de2710cc0eed0299 100644
(file)
--- a/
arch/sh/include/asm/io.h
+++ b/
arch/sh/include/asm/io.h
@@
-245,10
+245,11
@@
extern int iounmap_fixed(void __iomem *);
extern void ioremap_fixed_init(void);
#else
static inline void __iomem *
-ioremap_fixed(resource_size
t phys_addr, unsigned long offset,
+ioremap_fixed(resource_size
_
t phys_addr, unsigned long offset,
unsigned long size, pgprot_t prot)
{
BUG();
+ return NULL;
}
static inline void ioremap_fixed_init(void) { }
This page took
0.025389 seconds
and
5
git commands to generate.