aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-19 11:40:13 +0100
committerMark Brown <broonie@linaro.org>2013-07-19 13:05:06 +0100
commit0a9eaa39db136aaf998d3aa0f7f25c331def336a (patch)
tree0ea670523cc6a391bedf823174dbe36d625f7129
parentd8a14e302ffeecc312186b8b9b0efc8963cec83b (diff)
downloadkernel_goldelico_gta04-0a9eaa39db136aaf998d3aa0f7f25c331def336a.zip
kernel_goldelico_gta04-0a9eaa39db136aaf998d3aa0f7f25c331def336a.tar.gz
kernel_goldelico_gta04-0a9eaa39db136aaf998d3aa0f7f25c331def336a.tar.bz2
ASoC: fsl_ssi: Provide register I/O functions by default
Use the ARM version by default as that's the more generally portable one, it doesn't matter if they work well on random platforms when the goal is only build coverage. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Timur Tabi <timur@tabi.org>
-rw-r--r--sound/soc/fsl/fsl_ssi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index c9974a4..e12a997 100644
--- a/sound/soc/fsl/fsl_ssi.c
+++ b/sound/soc/fsl/fsl_ssi.c
@@ -36,7 +36,7 @@
#define read_ssi(addr) in_be32(addr)
#define write_ssi(val, addr) out_be32(addr, val)
#define write_ssi_mask(addr, clear, set) clrsetbits_be32(addr, clear, set)
-#elif defined ARM
+#else
#define read_ssi(addr) readl(addr)
#define write_ssi(val, addr) writel(val, addr)
/*