[openwrt/openwrt] ramips: fix ralink_i2s_debugfs_remove declaration

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 20 12:09:13 PST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/617fcd4879a7c71810648a2c398e0057ee1073bb

commit 617fcd4879a7c71810648a2c398e0057ee1073bb
Author: Eneas U de Queiroz <cotequeiroz at gmail.com>
AuthorDate: Mon Sep 20 17:31:48 2021 -0300

    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 at gmail.com>
---
 target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch | 2 +-
 target/linux/ramips/patches-5.4/0048-asoc-add-mt7620-support.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
index 255c8d751a..680b678168 100644
--- a/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
+++ b/target/linux/ramips/patches-5.10/835-asoc-add-mt7620-support.patch
@@ -738,7 +738,7 @@ Signed-off-by: John Crispin <blogic at 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
diff --git a/target/linux/ramips/patches-5.4/0048-asoc-add-mt7620-support.patch b/target/linux/ramips/patches-5.4/0048-asoc-add-mt7620-support.patch
index cffdc4f4a1..4b9c877a7f 100644
--- a/target/linux/ramips/patches-5.4/0048-asoc-add-mt7620-support.patch
+++ b/target/linux/ramips/patches-5.4/0048-asoc-add-mt7620-support.patch
@@ -738,7 +738,7 @@ Signed-off-by: John Crispin <blogic at 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



More information about the lede-commits mailing list