forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
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