]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mailbox/omap: remove the private mailbox structure
authorSuman Anna <s-anna@ti.com>
Wed, 25 Jun 2014 00:43:42 +0000 (19:43 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 29 Jul 2014 08:57:25 +0000 (01:57 -0700)
commitbe3322eb7038926ecd5fbd37b3aaa4aee76b78e0
treeb23f921668d6ec4748c1b472ad1bab793a524b5c
parent5040f534385a300dee4f05af2484cdbf9ecef8a6
mailbox/omap: remove the private mailbox structure

The structure omap_mbox_priv is used previously to store arch
specific (OMAP1 vs OMAP2+) data, and is no longer required to be
maintained separately. Instead, absorb its elements into either
the sub-mailbox device structure, omap_mbox, or the individual
fifo descriptor structure, omap_mbox_fifo.

The newmsg_bit and notfull_bit used on Rx and Tx fifos respectively
are represented by the new intr_bit field in the fifo descriptor
structure. The interrupt configuration registers are also moved
into the fifo descriptor structure to allow the Rx and Tx fifos
to use different interrupt lines/users.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mailbox/omap-mailbox.c