forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/net/wimax/i2400m/i2400m.h
....@@ -812,13 +812,10 @@
812812 int i2400m_tx(struct i2400m *, const void *, size_t, enum i2400m_pt);
813813
814814 #ifdef CONFIG_DEBUG_FS
815
-int i2400m_debugfs_add(struct i2400m *);
815
+void i2400m_debugfs_add(struct i2400m *);
816816 void i2400m_debugfs_rm(struct i2400m *);
817817 #else
818
-static inline int i2400m_debugfs_add(struct i2400m *i2400m)
819
-{
820
- return 0;
821
-}
818
+static inline void i2400m_debugfs_add(struct i2400m *i2400m) {}
822819 static inline void i2400m_debugfs_rm(struct i2400m *i2400m) {}
823820 #endif
824821