From: Eneas U de Queiroz Date: Mon, 20 Sep 2021 20:31:48 +0000 (-0300) Subject: ramips: fix ralink_i2s_debugfs_remove declaration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=617fcd4879a7c71810648a2c398e0057ee1073bb;p=openwrt%2Fstaging%2Fnoltari.git 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 --- 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 + 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 + 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