X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-omap2%2Fmailbox.c;h=6e198d00fa3303211b033f84b11a985ada1f73fd;hb=fdee8764947cde1e6933e7d981ce5b9de00e83e6;hp=4799561c5a9ec048f46bdfb9cf53d437c04e82ff;hpb=8b91ac09732895f928ed6107bda5318cf260520b;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index 4799561c5a9..6e198d00fa3 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c @@ -14,8 +14,8 @@ #include #include #include -#include -#include +#include +#include #include #define MAILBOX_REVISION 0x00 @@ -75,12 +75,12 @@ static void omap2_mbox_enable_irq(struct omap_mbox *mbox, static inline unsigned int mbox_read_reg(unsigned int reg) { - return __raw_readl(mbox_base + reg); + return __raw_readl((void __iomem *)(mbox_base + reg)); } static inline void mbox_write_reg(unsigned int val, unsigned int reg) { - __raw_writel(val, mbox_base + reg); + __raw_writel(val, (void __iomem *)(mbox_base + reg)); } /* Mailbox H/W preparations */