summaryrefslogtreecommitdiff
path: root/drivers/firmware/arm_scmi/notify.h
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2021-03-16 12:48:59 +0000
committerSudeep Holla <sudeep.holla@arm.com>2021-03-30 16:35:15 +0100
commit3cb8c95f4b3055691db500ae7ab545074a771808 (patch)
treee87ae97864de5a78ca629f195dff672ceb91c7bb /drivers/firmware/arm_scmi/notify.h
parent9162afa2ae990603f2ae91fae64b9cb55435972b (diff)
downloadlwn-3cb8c95f4b3055691db500ae7ab545074a771808.tar.gz
lwn-3cb8c95f4b3055691db500ae7ab545074a771808.zip
firmware: arm_scmi: Cleanup events registration transient code
Remove all the events registration code used to ease the transition to the new interface based on protocol handles. Link: https://lore.kernel.org/r/20210316124903.35011-35-cristian.marussi@arm.com Tested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/notify.h')
-rw-r--r--drivers/firmware/arm_scmi/notify.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firmware/arm_scmi/notify.h b/drivers/firmware/arm_scmi/notify.h
index 97c0e3dd973b..ce0324be6c71 100644
--- a/drivers/firmware/arm_scmi/notify.h
+++ b/drivers/firmware/arm_scmi/notify.h
@@ -50,10 +50,10 @@ struct scmi_protocol_handle;
* process context.
*/
struct scmi_event_ops {
- int (*get_num_sources)(const void *handle);
- int (*set_notify_enabled)(const void *handle,
+ int (*get_num_sources)(const struct scmi_protocol_handle *ph);
+ int (*set_notify_enabled)(const struct scmi_protocol_handle *ph,
u8 evt_id, u32 src_id, bool enabled);
- void *(*fill_custom_report)(const void *handle,
+ void *(*fill_custom_report)(const struct scmi_protocol_handle *ph,
u8 evt_id, ktime_t timestamp,
const void *payld, size_t payld_sz,
void *report, u32 *src_id);