]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Reset mailbox to mainline version
authorTony Lindgren <tony@atomide.com>
Mon, 22 Dec 2008 15:09:49 +0000 (17:09 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Dec 2008 15:25:19 +0000 (17:25 +0200)
This is to start using Hiroshi's branch against the mainline tree.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mailbox.c
arch/arm/plat-omap/include/mach/mailbox.h

index 22546d0776aedc563cf3f7032f296c695756ffb6..32b7af3c610b6bad518bccc2caae5b4a9d647afb 100644 (file)
@@ -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((void __iomem *)(mbox_base + reg));
+       return __raw_readl(mbox_base + reg);
 }
 
 static inline void mbox_write_reg(unsigned int val, unsigned int reg)
 {
-       __raw_writel(val, (void __iomem *)(mbox_base + reg));
+       __raw_writel(val, mbox_base + reg);
 }
 
 /* Mailbox H/W preparations */
index 9d3994b7ff62ed31d4bd7d14d2cdee7c288c329e..7cbed9332e169f36854349048051cf02b979144e 100644 (file)
@@ -61,8 +61,6 @@ struct omap_mbox {
        void                    (*err_notify)(void);
 };
 
-extern struct omap_mbox mbox_dsp_info;
-
 int omap_mbox_msg_send(struct omap_mbox *, mbox_msg_t msg, void *);
 void omap_mbox_init_seq(struct omap_mbox *);