aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorShenghao Ding <shenghao-ding@ti.com>2025-06-12 12:42:52 +0800
committerMark Brown <broonie@kernel.org>2025-06-12 13:22:05 +0100
commit8a5a5cecb79058b608e5562d8998123a3adb313c (patch)
tree92f1415ecb19e9c9c021fa413fb4b7561eb795ed /include/sound
parent7e10d7242ea8a5947878880b912ffa5806520705 (diff)
downloadlinux-8a5a5cecb79058b608e5562d8998123a3adb313c.tar.gz
ASoC: tas2781: Move the "include linux/debugfs.h" into tas2781.h
Move the include linux/debugfs.h into tas2781.h for code clean. Signed-off-by: Shenghao Ding <shenghao-ding@ti.com> Link: https://patch.msgid.link/20250612044252.1025-1-shenghao-ding@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tas2781.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/tas2781.h b/include/sound/tas2781.h
index 40cd3bd079b51a..3875e92f1ec5af 100644
--- a/include/sound/tas2781.h
+++ b/include/sound/tas2781.h
@@ -17,6 +17,10 @@
#ifndef __TAS2781_H__
#define __TAS2781_H__
+#ifdef CONFIG_SND_SOC_TAS2781_ACOUST_I2C
+#include <linux/debugfs.h>
+#endif
+
#include "tas2781-dsp.h"
/* version number */