Commit f7d74d14 authored by Hiroshi DOYU's avatar Hiroshi DOYU Committed by Tony Lindgren

OMAP: MBOX: N800: remaining updates for mailbox parts

Signed-off-by: default avatarHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 82873734
...@@ -109,7 +109,7 @@ omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) ...@@ -109,7 +109,7 @@ omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq)
return 1; return 1;
} }
struct omap_mbox_ops omap1_mbox_ops = { static struct omap_mbox_ops omap1_mbox_ops = {
.type = OMAP_MBOX_TYPE1, .type = OMAP_MBOX_TYPE1,
.fifo_read = omap1_mbox_fifo_read, .fifo_read = omap1_mbox_fifo_read,
.fifo_write = omap1_mbox_fifo_write, .fifo_write = omap1_mbox_fifo_write,
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#define MAILBOX_IRQSTATUS_3 0x118 #define MAILBOX_IRQSTATUS_3 0x118
#define MAILBOX_IRQENABLE_3 0x11c #define MAILBOX_IRQENABLE_3 0x11c
unsigned long mbox_base; static unsigned long mbox_base;
#define MAILBOX_IRQ_NOTFULL(n) (1 << (2 * (n) + 1)) #define MAILBOX_IRQ_NOTFULL(n) (1 << (2 * (n) + 1))
#define MAILBOX_IRQ_NEWMSG(n) (1 << (2 * (n))) #define MAILBOX_IRQ_NEWMSG(n) (1 << (2 * (n)))
...@@ -68,7 +68,7 @@ struct omap_mbox2_priv { ...@@ -68,7 +68,7 @@ struct omap_mbox2_priv {
u32 notfull_bit; u32 notfull_bit;
}; };
struct clk *mbox_ick_handle; static struct clk *mbox_ick_handle;
static inline unsigned int mbox_read_reg(unsigned int reg) static inline unsigned int mbox_read_reg(unsigned int reg)
{ {
...@@ -170,7 +170,7 @@ static inline int omap2_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq ...@@ -170,7 +170,7 @@ static inline int omap2_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq
return (enable & status & bit); return (enable & status & bit);
} }
struct omap_mbox_ops omap2_mbox_ops = { static struct omap_mbox_ops omap2_mbox_ops = {
.type = OMAP_MBOX_TYPE2, .type = OMAP_MBOX_TYPE2,
.startup = omap2_mbox_startup, .startup = omap2_mbox_startup,
.shutdown = omap2_mbox_shutdown, .shutdown = omap2_mbox_shutdown,
...@@ -294,7 +294,7 @@ static struct platform_driver omap2_mbox_driver = { ...@@ -294,7 +294,7 @@ static struct platform_driver omap2_mbox_driver = {
}, },
}; };
int __init omap2_mbox_init(void) static int __init omap2_mbox_init(void)
{ {
return platform_driver_register(&omap2_mbox_driver); return platform_driver_register(&omap2_mbox_driver);
} }
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#ifndef __ARCH_ARM_PLAT_MAILBOX_H #ifndef __ARCH_ARM_PLAT_MAILBOX_H
#define __ARCH_ARM_PLAT_MAILBOX_H #define __ARCH_ARM_PLAT_MAILBOX_H
#define MBOX_NAME_LEN 255
/* /*
* Mailbox sequence bit API * Mailbox sequence bit API
*/ */
......
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