From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:20:52 +0000
Subject: [PATCH] add new system file

---
 kernel/drivers/dma-buf/sync_debug.h |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/kernel/drivers/dma-buf/sync_debug.h b/kernel/drivers/dma-buf/sync_debug.h
index 9975a67..fb676da 100644
--- a/kernel/drivers/dma-buf/sync_debug.h
+++ b/kernel/drivers/dma-buf/sync_debug.h
@@ -62,22 +62,18 @@
 	struct rb_node node;
 };
 
-#ifdef CONFIG_DEBUG_FS
 extern const struct file_operations sw_sync_debugfs_fops;
 
+#ifdef CONFIG_SW_SYNC_DEBUG
 void sync_timeline_debug_add(struct sync_timeline *obj);
 void sync_timeline_debug_remove(struct sync_timeline *obj);
 void sync_file_debug_add(struct sync_file *fence);
 void sync_file_debug_remove(struct sync_file *fence);
-void sync_dump(void);
 #else
 static inline void sync_timeline_debug_add(struct sync_timeline *obj) {}
 static inline void sync_timeline_debug_remove(struct sync_timeline *obj) {}
 static inline void sync_file_debug_add(struct sync_file *fence) {}
 static inline void sync_file_debug_remove(struct sync_file *fence) {}
-static inline void sync_dump(void) {}
 #endif
-
-void sync_timeline_signal(struct sync_timeline *obj, unsigned int inc);
 
 #endif /* _LINUX_SYNC_H */

--
Gitblit v1.6.2