aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/mailbox.h
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2010-06-11 11:51:46 -0400
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>2010-08-04 08:50:19 -0400
commit9c80c8cd740f802eed27ed1c1334262b205bb8f5 (patch)
treed1cff1b65ad4bf7d79a059eefffd19e3d9343979 /arch/arm/plat-omap/include/plat/mailbox.h
parent898ee75623d5a151157e3f0dca12b0148051e2d6 (diff)
omap: mailbox: simplify omap_mbox_register()
No need to dynamically register mailboxes one by one. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/mailbox.h')
-rw-r--r--arch/arm/plat-omap/include/plat/mailbox.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/mailbox.h b/arch/arm/plat-omap/include/plat/mailbox.h
index aad8bf80c224..c44fde30c7c1 100644
--- a/arch/arm/plat-omap/include/plat/mailbox.h
+++ b/arch/arm/plat-omap/include/plat/mailbox.h
@@ -55,7 +55,6 @@ struct omap_mbox {
55 struct omap_mbox_queue *txq, *rxq; 55 struct omap_mbox_queue *txq, *rxq;
56 struct omap_mbox_ops *ops; 56 struct omap_mbox_ops *ops;
57 struct device *dev; 57 struct device *dev;
58 struct omap_mbox *next;
59 void *priv; 58 void *priv;
60}; 59};
61 60
@@ -65,8 +64,8 @@ void omap_mbox_init_seq(struct omap_mbox *);
65struct omap_mbox *omap_mbox_get(const char *); 64struct omap_mbox *omap_mbox_get(const char *);
66void omap_mbox_put(struct omap_mbox *); 65void omap_mbox_put(struct omap_mbox *);
67 66
68int omap_mbox_register(struct device *parent, struct omap_mbox *); 67int omap_mbox_register(struct device *parent, struct omap_mbox **);
69int omap_mbox_unregister(struct omap_mbox *); 68int omap_mbox_unregister(void);
70 69
71static inline void omap_mbox_save_ctx(struct omap_mbox *mbox) 70static inline void omap_mbox_save_ctx(struct omap_mbox *mbox)
72{ 71{