diff options
Diffstat (limited to 'kernel/ethosu_device.h')
-rw-r--r-- | kernel/ethosu_device.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kernel/ethosu_device.h b/kernel/ethosu_device.h index cc4271d..d02f29d 100644 --- a/kernel/ethosu_device.h +++ b/kernel/ethosu_device.h @@ -42,13 +42,11 @@ * struct ethosu_device - Device structure */ struct ethosu_device { - struct device *dev; struct rpmsg_device *rpdev; struct rpmsg_endpoint *ept; struct cdev cdev; struct class *class; dev_t devt; - struct mutex mutex; struct ethosu_mailbox mailbox; }; @@ -61,14 +59,13 @@ struct ethosu_device { * * Return: 0 on success, else error code. */ -int ethosu_dev_init(struct ethosu_device *edev, - struct rpmsg_device *rpdev, +int ethosu_dev_init(struct rpmsg_device *rpdev, struct class *class, dev_t devt); /** * ethosu_dev_deinit() - Initialize the device */ -void ethosu_dev_deinit(struct ethosu_device *edev); +void ethosu_dev_deinit(struct rpmsg_device *rpdev); #endif /* ETHOSU_DEVICE_H */ |