ASoC: stac9766: Move register defines to main source file
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 4 Nov 2016 17:26:55 +0000 (18:26 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2016 17:43:05 +0000 (11:43 -0600)
The stac9766 driver has a header file that defines 3 register locations.
Move these to the main source file since it is not really worth it having a
separate file for them. The header file is now empty and can be removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/stac9766.c
sound/soc/codecs/stac9766.h [deleted file]
sound/soc/fsl/efika-audio-fabric.c

index e54e4a4ce29609173e8865f830878c60872b54ea..f675d343b5292c5e06b9c60abd482d3bb725737c 100644 (file)
 #include <sound/soc.h>
 #include <sound/tlv.h>
 
-#include "stac9766.h"
-
 #define STAC9766_VENDOR_ID 0x83847666
 #define STAC9766_VENDOR_ID_MASK 0xffffffff
 
+#define AC97_STAC_DA_CONTROL 0x6A
+#define AC97_STAC_ANALOG_SPECIAL 0x6E
+#define AC97_STAC_STEREO_MIC 0x78
+
 /*
  * STAC9766 register cache
  */
diff --git a/sound/soc/codecs/stac9766.h b/sound/soc/codecs/stac9766.h
deleted file mode 100644 (file)
index e35cee8..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * stac9766.h  --  STAC9766 Soc Audio driver
- */
-
-#ifndef _STAC9766_H
-#define _STAC9766_H
-
-#define AC97_STAC_DA_CONTROL 0x6A
-#define AC97_STAC_ANALOG_SPECIAL 0x6E
-#define AC97_STAC_STEREO_MIC 0x78
-
-#endif
index b2acd3293ea886217290ede96d0c3350cc07f7fe..f200d1cfc4bd4d854b425f220c5b8e3bb49b22b1 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "mpc5200_dma.h"
 #include "mpc5200_psc_ac97.h"
-#include "../codecs/stac9766.h"
 
 #define DRV_NAME "efika-audio-fabric"