Skip to content

Commit

Permalink
sh: Shut up noisy IOREMAP_FIXED=n build.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Jan 19, 2010
1 parent 31c3af5 commit 70911b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/sh/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { }
Expand Down

0 comments on commit 70911b8

Please sign in to comment.