mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
31c3af503e
commit
70911b861b
|
@ -245,10 +245,11 @@ extern int iounmap_fixed(void __iomem *);
|
||||||
extern void ioremap_fixed_init(void);
|
extern void ioremap_fixed_init(void);
|
||||||
#else
|
#else
|
||||||
static inline void __iomem *
|
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)
|
unsigned long size, pgprot_t prot)
|
||||||
{
|
{
|
||||||
BUG();
|
BUG();
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void ioremap_fixed_init(void) { }
|
static inline void ioremap_fixed_init(void) { }
|
||||||
|
|
Loading…
Reference in New Issue