aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ethosu_device.h')
-rw-r--r--kernel/ethosu_device.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/ethosu_device.h b/kernel/ethosu_device.h
index 7d8791a..7c6c99d 100644
--- a/kernel/ethosu_device.h
+++ b/kernel/ethosu_device.h
@@ -40,6 +40,8 @@
* Types
****************************************************************************/
+struct reset_control;
+
/**
* struct ethosu_device - Device structure
*/
@@ -51,9 +53,7 @@ struct ethosu_device {
struct mutex mutex;
struct ethosu_mailbox mailbox;
struct ethosu_watchdog watchdog;
- struct list_head capabilities_list;
- struct list_head inference_list;
- struct list_head network_info_list;
+ struct reset_control *reset;
};
/**
@@ -64,7 +64,8 @@ struct ethosu_capabilities {
struct completion done;
struct kref refcount;
struct ethosu_uapi_device_capabilities *capabilities;
- struct list_head list;
+ struct ethosu_mailbox_msg msg;
+ int errno;
};
/****************************************************************************