forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/block/drbd/drbd_debugfs.h
....@@ -6,7 +6,7 @@
66 #include "drbd_int.h"
77
88 #ifdef CONFIG_DEBUG_FS
9
-int __init drbd_debugfs_init(void);
9
+void __init drbd_debugfs_init(void);
1010 void drbd_debugfs_cleanup(void);
1111
1212 void drbd_debugfs_resource_add(struct drbd_resource *resource);
....@@ -22,7 +22,7 @@
2222 void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device);
2323 #else
2424
25
-static inline int __init drbd_debugfs_init(void) { return -ENODEV; }
25
+static inline void __init drbd_debugfs_init(void) { }
2626 static inline void drbd_debugfs_cleanup(void) { }
2727
2828 static inline void drbd_debugfs_resource_add(struct drbd_resource *resource) { }