aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ethosu_buffer.h')
-rw-r--r--kernel/ethosu_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/ethosu_buffer.h b/kernel/ethosu_buffer.h
index 7a21fcb..ada8c4c 100644
--- a/kernel/ethosu_buffer.h
+++ b/kernel/ethosu_buffer.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020,2022 ARM Limited.
+ * Copyright 2020,2022-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
@@ -51,6 +51,7 @@ struct device;
*/
struct ethosu_buffer {
struct ethosu_device *edev;
+ struct device *dev;
struct file *file;
struct kref kref;
size_t capacity;
@@ -58,7 +59,6 @@ struct ethosu_buffer {
size_t size;
void *cpu_addr;
dma_addr_t dma_addr;
- dma_addr_t dma_addr_orig;
};
/****************************************************************************