Commit a64c613e authored by Richard Henderson's avatar Richard Henderson Committed by Linus Torvalds

[PATCH] Add __ioremap

I hadn't realized this was supposed to be an official interface.
Or maybe it's not, but the fb drivers all use it.   Anyway...
parent d5313e0f
...@@ -282,6 +282,12 @@ static inline void __iomem *ioremap(unsigned long port, unsigned long size) ...@@ -282,6 +282,12 @@ static inline void __iomem *ioremap(unsigned long port, unsigned long size)
return IO_CONCAT(__IO_PREFIX,ioremap) (port, size); return IO_CONCAT(__IO_PREFIX,ioremap) (port, size);
} }
static inline void __iomem *__ioremap(unsigned long port, unsigned long size,
unsigned long flags)
{
return ioremap(port, size);
}
static inline void __iomem * ioremap_nocache(unsigned long offset, static inline void __iomem * ioremap_nocache(unsigned long offset,
unsigned long size) unsigned long size)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment