diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2021-03-16 12:48:35 +0000 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2021-03-29 10:00:35 +0100 |
commit | 8d3581c2526fcc6716d6bd13e4a5c0badd36a034 (patch) | |
tree | 2b6fd144bbda1610700af05c66b6a7fa8249d953 /drivers/firmware/arm_scmi/common.h | |
parent | 3d5d6e84ea0e9cf985b1d0d8d359fe693f2466e4 (diff) | |
download | lwn-8d3581c2526fcc6716d6bd13e4a5c0badd36a034.tar.gz lwn-8d3581c2526fcc6716d6bd13e4a5c0badd36a034.zip |
firmware: arm_scmi: Port base protocol to new interface
Port the SCMI base protocol to new protocol handles based interface.
Link: https://lore.kernel.org/r/20210316124903.35011-11-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/common.h')
-rw-r--r-- | drivers/firmware/arm_scmi/common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h index 6a06adc73f20..1bd332b5daa7 100644 --- a/drivers/firmware/arm_scmi/common.h +++ b/drivers/firmware/arm_scmi/common.h @@ -221,10 +221,9 @@ int scmi_handle_put(const struct scmi_handle *handle); struct scmi_handle *scmi_handle_get(struct device *dev); void scmi_set_handle(struct scmi_device *scmi_dev); int scmi_version_get(const struct scmi_handle *h, u8 protocol, u32 *version); -void scmi_setup_protocol_implemented(const struct scmi_handle *handle, +void scmi_setup_protocol_implemented(const struct scmi_protocol_handle *ph, u8 *prot_imp); -int scmi_base_protocol_init(struct scmi_handle *h); typedef int (*scmi_prot_init_fn_t)(struct scmi_handle *); typedef int (*scmi_prot_init_ph_fn_t)(const struct scmi_protocol_handle *); |