Skip to content

Commit

Permalink
add missing __iomem to generic iounmap declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Mark Salter committed Oct 6, 2011
1 parent 854a685 commit e66d3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-generic/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size)
#define ioremap_wc ioremap_nocache
#endif

static inline void iounmap(void *addr)
static inline void iounmap(void __iomem *addr)
{
}
#endif /* CONFIG_MMU */
Expand Down

0 comments on commit e66d3c4

Please sign in to comment.