diff options
author | Haridhar Kalvala <haridhar.kalvala@stericsson.com> | 2011-10-31 16:08:33 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 09:02:41 +0100 |
commit | 9c875db91c5d9adf6fe737ccdf9340f910ac0d48 (patch) | |
tree | 6b746318a9013cc07dd4552aee33e8390084b23b /arch | |
parent | 74154e81bd9bfeaa3578991bda7d117bf9b9ac42 (diff) |
drivers: misc: Deregistering of rx- channel added.
Mad driver updated with de-registering of RX
channel with the mailbox.Moved unmap of shared
memory out of mad_close function.
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I50351e594d746f5c2891a86351407a5bf8f934ab
Signed-off-by: Haridhar Kalvala <haridhar.kalvala@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35913
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h b/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h index 0b2fc604873..c29dfff0ff7 100644 --- a/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h +++ b/arch/arm/mach-ux500/include/mach/mbox_channels-db5500.h @@ -68,5 +68,13 @@ int mbox_channel_send(struct mbox_channel_msg *msg); */ int mbox_channel_revoke_messages(u16 channel); +/** + * mbox_channel_deregister - de-register given mailbox channel. + * @channel: Mailbox channel number. + * + * Returns 0 on success or a negative error code on error. + */ +int mbox_channel_deregister(u16 channel); + #endif /*INC_STE_MBOX_H*/ |