ramips: fix ralink_i2s_debugfs_remove declaration

Correct ralink_i2s_debugfs_remove declaration in ralink patches when
CONFIG_DEBUG_FS is not selected.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2021-09-20 17:31:48 -03:00 committed by Hauke Mehrtens
parent a4c3b6373c
commit 617fcd4879
2 changed files with 2 additions and 2 deletions

View File

@ -738,7 +738,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ return 0;
+}
+
+static inline void ralink_i2s_debugfs_remove(struct fsl_ssi_dbg *ssi_dbg)
+static inline void ralink_i2s_debugfs_remove(struct ralink_i2s *i2s)
+{
+}
+#endif

View File

@ -738,7 +738,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ return 0;
+}
+
+static inline void ralink_i2s_debugfs_remove(struct fsl_ssi_dbg *ssi_dbg)
+static inline void ralink_i2s_debugfs_remove(struct ralink_i2s *i2s)
+{
+}
+#endif