diff options
author | Mark Brown <broonie@linaro.org> | 2014-06-13 21:40:45 +0100 |
---|---|---|
committer | Show Liu <show.liu@linaro.org> | 2014-06-18 12:05:38 +0800 |
commit | b604ab389db043988bc6c5a211dd1889091db871 (patch) | |
tree | 49e74cc5e02cacd7137ddb1417a19f8c2aa4be83 /drivers/rtc/rtc-pcap.c | |
parent | 1290af03c511ec080c6d5f1211a15acd3de49f98 (diff) |
mailbox: Remove const from client argument of mbox_request_channel()
The struct mbox_client supplied to mbox_request_channel() is const but
it is stored in the channel in a non-constant member causing compiler
warnings.
While the mailbox API should treat the struct mailbox_client as const
itself the struct is passed back to the channel in callbacks without
a const so we need to either remove the const, change the callbacks to
take const or cast the const away when doing callbacks. Take the simplest
option and just remove the const.
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/rtc/rtc-pcap.c')
0 files changed, 0 insertions, 0 deletions