diff options
Diffstat (limited to 'arch/arm/plat-omap/include/plat/mailbox.h')
| -rw-r--r-- | arch/arm/plat-omap/include/plat/mailbox.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/mailbox.h b/arch/arm/plat-omap/include/plat/mailbox.h index 997656552109..cc3921e9059c 100644 --- a/arch/arm/plat-omap/include/plat/mailbox.h +++ b/arch/arm/plat-omap/include/plat/mailbox.h | |||
| @@ -46,8 +46,8 @@ struct omap_mbox_queue { | |||
| 46 | struct kfifo fifo; | 46 | struct kfifo fifo; |
| 47 | struct work_struct work; | 47 | struct work_struct work; |
| 48 | struct tasklet_struct tasklet; | 48 | struct tasklet_struct tasklet; |
| 49 | int (*callback)(void *); | ||
| 50 | struct omap_mbox *mbox; | 49 | struct omap_mbox *mbox; |
| 50 | bool full; | ||
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | struct omap_mbox { | 53 | struct omap_mbox { |
| @@ -57,13 +57,15 @@ struct omap_mbox { | |||
| 57 | struct omap_mbox_ops *ops; | 57 | struct omap_mbox_ops *ops; |
| 58 | struct device *dev; | 58 | struct device *dev; |
| 59 | void *priv; | 59 | void *priv; |
| 60 | int use_count; | ||
| 61 | struct blocking_notifier_head notifier; | ||
| 60 | }; | 62 | }; |
| 61 | 63 | ||
| 62 | int omap_mbox_msg_send(struct omap_mbox *, mbox_msg_t msg); | 64 | int omap_mbox_msg_send(struct omap_mbox *, mbox_msg_t msg); |
| 63 | void omap_mbox_init_seq(struct omap_mbox *); | 65 | void omap_mbox_init_seq(struct omap_mbox *); |
| 64 | 66 | ||
| 65 | struct omap_mbox *omap_mbox_get(const char *); | 67 | struct omap_mbox *omap_mbox_get(const char *, struct notifier_block *nb); |
| 66 | void omap_mbox_put(struct omap_mbox *); | 68 | void omap_mbox_put(struct omap_mbox *mbox, struct notifier_block *nb); |
| 67 | 69 | ||
| 68 | int omap_mbox_register(struct device *parent, struct omap_mbox **); | 70 | int omap_mbox_register(struct device *parent, struct omap_mbox **); |
| 69 | int omap_mbox_unregister(void); | 71 | int omap_mbox_unregister(void); |
