aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_cancel_inference.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ethosu_cancel_inference.h')
-rw-r--r--kernel/ethosu_cancel_inference.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/ethosu_cancel_inference.h b/kernel/ethosu_cancel_inference.h
index a21b9c0..a3982dd 100644
--- a/kernel/ethosu_cancel_inference.h
+++ b/kernel/ethosu_cancel_inference.h
@@ -36,12 +36,11 @@
****************************************************************************/
struct ethosu_core_msg_cancel_inference_rsp;
-struct ethosu_device;
struct ethosu_inference;
struct ethosu_uapi_cancel_inference_status;
struct ethosu_cancel_inference {
- struct ethosu_device *edev;
+ struct device *dev;
struct ethosu_inference *inf;
struct ethosu_uapi_cancel_inference_status *uapi;
struct completion done;
@@ -58,13 +57,15 @@ struct ethosu_cancel_inference {
*
* Return: 0 on success, error code otherwise.
*/
-int ethosu_cancel_inference_request(struct ethosu_inference *inf,
+int ethosu_cancel_inference_request(struct device *dev,
+ struct ethosu_mailbox *mailbox,
+ struct ethosu_inference *inf,
struct ethosu_uapi_cancel_inference_status *uapi);
/**
* ethosu_cancel_inference_rsp() - Handle cancel inference response
*/
-void ethosu_cancel_inference_rsp(struct ethosu_device *edev,
+void ethosu_cancel_inference_rsp(struct ethosu_mailbox *mailbox,
int msg_id,
struct ethosu_core_msg_cancel_inference_rsp *rsp);