aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs/mxs-saif.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-28 11:21:16 -0400
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 08:41:59 -0400
commit114fe75defb04c03c100ed22617108165d546abe (patch)
tree197272e444e72cfb293e4f3d9a97662c6e1721da /sound/soc/mxs/mxs-saif.c
parent987869aa4afd442a40afa6e760a88cf8d5728c55 (diff)
ASoC: mxs-saif: remove mach header inclusion
The header <mach/hardware.h> is not needed at all, and <mach/mxs.h> is needed only for macros MXS_SET_ADDR and MXS_CLR_ADDR. Define the macros and remove the mach header inclusions. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/mxs/mxs-saif.c')
-rw-r--r--sound/soc/mxs/mxs-saif.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 3a2aa1d19b93..41a6136e3535 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -33,11 +33,12 @@
33#include <sound/pcm_params.h> 33#include <sound/pcm_params.h>
34#include <sound/soc.h> 34#include <sound/soc.h>
35#include <asm/mach-types.h> 35#include <asm/mach-types.h>
36#include <mach/hardware.h>
37#include <mach/mxs.h>
38 36
39#include "mxs-saif.h" 37#include "mxs-saif.h"
40 38
39#define MXS_SET_ADDR 0x4
40#define MXS_CLR_ADDR 0x8
41
41static struct mxs_saif *mxs_saif[2]; 42static struct mxs_saif *mxs_saif[2];
42 43
43/* 44/*