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>
This commit is contained in:

committed by
Hiroshi DOYU

parent
898ee75623
commit
9c80c8cd74
@@ -55,7 +55,6 @@ struct omap_mbox {
|
||||
struct omap_mbox_queue *txq, *rxq;
|
||||
struct omap_mbox_ops *ops;
|
||||
struct device *dev;
|
||||
struct omap_mbox *next;
|
||||
void *priv;
|
||||
};
|
||||
|
||||
@@ -65,8 +64,8 @@ void omap_mbox_init_seq(struct omap_mbox *);
|
||||
struct omap_mbox *omap_mbox_get(const char *);
|
||||
void omap_mbox_put(struct omap_mbox *);
|
||||
|
||||
int omap_mbox_register(struct device *parent, struct omap_mbox *);
|
||||
int omap_mbox_unregister(struct omap_mbox *);
|
||||
int omap_mbox_register(struct device *parent, struct omap_mbox **);
|
||||
int omap_mbox_unregister(void);
|
||||
|
||||
static inline void omap_mbox_save_ctx(struct omap_mbox *mbox)
|
||||
{
|
||||
|
Reference in New Issue
Block a user