Browse Source

ASoC: Include header file in cs4270 and wm9705

Ensures that the DAI and socdev exported by the codec match up with
their exported prototype.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 16 năm trước cách đây
mục cha
commit
01e097d6c4
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 2 0
      sound/soc/codecs/cs4270.c
  2. 2 0
      sound/soc/codecs/wm9705.c

+ 2 - 0
sound/soc/codecs/cs4270.c

@@ -29,6 +29,8 @@
 #include <sound/initval.h>
 #include <linux/i2c.h>
 
+#include "cs4270.h"
+
 /* Private data for the CS4270 */
 struct cs4270_private {
 	unsigned int mclk; /* Input frequency of the MCLK pin */

+ 2 - 0
sound/soc/codecs/wm9705.c

@@ -20,6 +20,8 @@
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
 
+#include "wm9705.h"
+
 /*
  * WM9705 register cache
  */