aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2023-05-23 13:02:17 +0300
committerMichael Bestas <mkbestas@lineageos.org>2023-05-23 13:40:01 +0300
commit4b4f7be495ae7d8304844c802ec37ac3b4c1f1b3 (patch)
tree6ab8bf221491ac15bd5df801bc041c902e0bd6a5
parent86094b0a1adfb513003a45cf0c7bb5e97a5b808d (diff)
dma-buf: Fix build with oplus additions & disabled debugfs
Change-Id: Id6b4d58c2db12272368311318e2ee6634c539a5e
-rw-r--r--include/linux/dma-buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
index 7d76fd3d0cbf..dc40dfdf9166 100644
--- a/include/linux/dma-buf.h
+++ b/include/linux/dma-buf.h
@@ -441,7 +441,7 @@ struct dma_buf {
const char *exp_name;
const char *name;
spinlock_t name_lock;
-#if defined(CONFIG_DEBUG_FS)
+#if defined(CONFIG_DEBUG_FS) || (defined(OPLUS_FEATURE_PERFORMANCE) && defined(CONFIG_PROC_FS))
ktime_t ktime;
#endif
struct module *owner;