ramips: fix ralink_i2s_debugfs_remove declaration
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Mon, 20 Sep 2021 20:31:48 +0000 (17:31 -0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Nov 2021 20:08:25 +0000 (21:08 +0100)
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>
target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
target/linux/ramips/patches-5.4/0048-asoc-add-mt7620-support.patch

index 255c8d751adb39c128979e92973cef5337f45b62..680b67816812e2741250402b6cd8b1133f524f50 100644 (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
index cffdc4f4a1120a8e525b721ccf04ca4353e60810..4b9c877a7f254099ed16cd1e6fbbd731ec68b69f 100644 (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