.. | .. |
---|
6 | 6 | #include "drbd_int.h" |
---|
7 | 7 | |
---|
8 | 8 | #ifdef CONFIG_DEBUG_FS |
---|
9 | | -int __init drbd_debugfs_init(void); |
---|
| 9 | +void __init drbd_debugfs_init(void); |
---|
10 | 10 | void drbd_debugfs_cleanup(void); |
---|
11 | 11 | |
---|
12 | 12 | void drbd_debugfs_resource_add(struct drbd_resource *resource); |
---|
.. | .. |
---|
22 | 22 | void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device); |
---|
23 | 23 | #else |
---|
24 | 24 | |
---|
25 | | -static inline int __init drbd_debugfs_init(void) { return -ENODEV; } |
---|
| 25 | +static inline void __init drbd_debugfs_init(void) { } |
---|
26 | 26 | static inline void drbd_debugfs_cleanup(void) { } |
---|
27 | 27 | |
---|
28 | 28 | static inline void drbd_debugfs_resource_add(struct drbd_resource *resource) { } |
---|