Messages in this thread | | | Date | Mon, 7 Jan 2013 17:09:00 +0100 | From | Heiko Carstens <> | Subject | Re: [PATCH] asm-generic/io.h: convert readX defines to functions |
| |
On Mon, Jan 07, 2013 at 03:42:38PM +0000, Arnd Bergmann wrote: > On Monday 07 January 2013 16:34:59 Heiko Carstens wrote: > > Acked-by: Arnd Bergmann <arnd@arndb.de> > > if you fix this: > > > +#define readl readl > > +static inline u32 __raw_readl(const volatile void __iomem *addr) > > +{ > > + return __le32_to_cpu(__raw_readl(addr)); > > +} > > to be called readl rather than __raw_readl
duhh... thanks! :)
| |