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.h24
1 files changed, 7 insertions, 17 deletions
diff --git a/kernel/ethosu_device.h b/kernel/ethosu_device.h
index d1e4334..8e81f91 100644
--- a/kernel/ethosu_device.h
+++ b/kernel/ethosu_device.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2022 Arm Limited.
+ * Copyright 2020-2023 Arm Limited and/or its affiliates
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -27,7 +27,6 @@
#include "uapi/ethosu.h"
#include "ethosu_mailbox.h"
-#include "ethosu_watchdog.h"
#include <linux/device.h>
#include <linux/cdev.h>
@@ -38,20 +37,16 @@
* Types
****************************************************************************/
-struct reset_control;
-
/**
* struct ethosu_device - Device structure
*/
struct ethosu_device {
- struct device *dev;
- struct cdev cdev;
- struct class *class;
- dev_t devt;
- struct mutex mutex;
- struct ethosu_mailbox mailbox;
- struct ethosu_watchdog watchdog;
- struct reset_control *reset;
+ struct device *dev;
+ struct cdev cdev;
+ struct class *class;
+ dev_t devt;
+ struct mutex mutex;
+ struct ethosu_mailbox mailbox;
};
/****************************************************************************
@@ -75,9 +70,4 @@ int ethosu_dev_init(struct ethosu_device *edev,
*/
void ethosu_dev_deinit(struct ethosu_device *edev);
-/**
- * ethosu_firmware_reset() - Reset the device running firmware
- */
-int ethosu_firmware_reset(struct ethosu_device *edev);
-
#endif /* ETHOSU_DEVICE_H */