summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/ac97.c
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2011-01-07 04:46:52 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-10 11:38:00 (GMT)
commit4f644ea70d54bf851fc0ebc77fa0f66fce7cb7d2 (patch)
tree62cef27bc91353300062e336e6c790f2f46eee18 /sound/soc/samsung/ac97.c
parentfd0d08d9edc8ffc900896e1d1f7f287e6fde1ab3 (diff)
downloadlinux-4f644ea70d54bf851fc0ebc77fa0f66fce7cb7d2.tar.xz
ASoC: SAMSUNG: Remove AC97 header file
This patch moves AC97 specific definitions, they doesn't need to be shared, into 'ac97.c' from 'ac97.h'. This patch also remove header file, 'ac97.h', and remove includes on machine drivers. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/ac97.c')
-rw-r--r--sound/soc/samsung/ac97.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c
index 4770a95..1e84ee0 100644
--- a/sound/soc/samsung/ac97.c
+++ b/sound/soc/samsung/ac97.c
@@ -25,11 +25,13 @@
#include <plat/audio.h>
#include "dma.h"
-#include "ac97.h"
#define AC_CMD_ADDR(x) (x << 16)
#define AC_CMD_DATA(x) (x & 0xffff)
+#define S3C_AC97_DAI_PCM 0
+#define S3C_AC97_DAI_MIC 1
+
struct s3c_ac97_info {
struct clk *ac97_clk;
void __iomem *regs;