Skip to contentSkip to conversation

ASoC: eukrea-tlv320: Remove include line of fsl_ssi.h

PATCH New Nicolin Chen 1 participant 1 message Dec 2, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ASoC: eukrea-tlv320: Remove include line of fsl_ssi.h

The machine driver links both imx-ssi (legacy non-DT driver) and fsl_ssi (up-to-date DT based driver). So It also includes both imx-ssi.h and fsl_ssi.h header files. This creates a limitation for two header files -- they can't define anything with identical names.

Since the eukrea-tlv320 machine driver now does not really need anything being defined in the fsl_ssi header file, and it's also going to take some time to clean up two SSI drivers, this patch takes a quick way to remove the #include fsl_ssi.h line for now. It can be added back once the header files are done refactoring.

The eukrea-tlv320 driver is still compiled successfully without any erorr using imx_v6_v7_defconfig, after removing it.

---

Changelog
v2:
* Fixed a typo in the commit log at imx_v6_v7_defconfig

 sound/soc/fsl/eukrea-tlv320.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/fsl/eukrea-tlv320.c +0 -1
index 84ef638..191426a 100644
@@ -29,7 +29,6 @@
 
 #include "../codecs/tlv320aic23.h"
 #include "imx-ssi.h"
-#include "fsl_ssi.h"
 #include "imx-audmux.h"
 
 #define CODEC_CLOCK 12000000
Signature · 1 line
2.7.4