diff options
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 3dad74a8d496..6c6ce9381535 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h | |||
@@ -172,12 +172,14 @@ struct mei_fw_status { | |||
172 | * struct mei_me_client - representation of me (fw) client | 172 | * struct mei_me_client - representation of me (fw) client |
173 | * | 173 | * |
174 | * @list: link in me client list | 174 | * @list: link in me client list |
175 | * @refcnt: struct reference count | ||
175 | * @props: client properties | 176 | * @props: client properties |
176 | * @client_id: me client id | 177 | * @client_id: me client id |
177 | * @mei_flow_ctrl_creds: flow control credits | 178 | * @mei_flow_ctrl_creds: flow control credits |
178 | */ | 179 | */ |
179 | struct mei_me_client { | 180 | struct mei_me_client { |
180 | struct list_head list; | 181 | struct list_head list; |
182 | struct kref refcnt; | ||
181 | struct mei_client_properties props; | 183 | struct mei_client_properties props; |
182 | u8 client_id; | 184 | u8 client_id; |
183 | u8 mei_flow_ctrl_creds; | 185 | u8 mei_flow_ctrl_creds; |
@@ -345,9 +347,9 @@ struct mei_cl_device *mei_cl_add_device(struct mei_device *dev, | |||
345 | struct mei_cl_ops *ops); | 347 | struct mei_cl_ops *ops); |
346 | void mei_cl_remove_device(struct mei_cl_device *device); | 348 | void mei_cl_remove_device(struct mei_cl_device *device); |
347 | 349 | ||
348 | int __mei_cl_async_send(struct mei_cl *cl, u8 *buf, size_t length); | 350 | ssize_t __mei_cl_async_send(struct mei_cl *cl, u8 *buf, size_t length); |
349 | int __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length); | 351 | ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length); |
350 | int __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length); | 352 | ssize_t __mei_cl_recv(struct mei_cl *cl, u8 *buf, size_t length); |
351 | void mei_cl_bus_rx_event(struct mei_cl *cl); | 353 | void mei_cl_bus_rx_event(struct mei_cl *cl); |
352 | void mei_cl_bus_remove_devices(struct mei_device *dev); | 354 | void mei_cl_bus_remove_devices(struct mei_device *dev); |
353 | int mei_cl_bus_init(void); | 355 | int mei_cl_bus_init(void); |