Hi, On Mon, Apr 23, 2012 at 02:37:21PM +0300, Hiroshi DOYU wrote: > +static inline unsigned long gizmo_readl(unsigned long offset) > +{ > + return readl(IO_TO_VIRT(TEGRA_AHB_GIZMO_BASE + offset)); > +} > + > +static inline void gizmo_writel(unsigned long value, unsigned long offset) > +{ > + writel(value, IO_TO_VIRT(TEGRA_AHB_GIZMO_BASE + offset)); > +} why don't you ioremap() your address and use it as a void __iomem * ? -- balbi