summaryrefslogtreecommitdiff
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-19 10:40:13 (GMT)
committerMark Brown <broonie@linaro.org>2013-07-19 12:05:06 (GMT)
commit0a9eaa39db136aaf998d3aa0f7f25c331def336a (patch)
tree0ea670523cc6a391bedf823174dbe36d625f7129 /sound/soc/fsl
parentd8a14e302ffeecc312186b8b9b0efc8963cec83b (diff)
downloadlinux-fsl-qoriq-0a9eaa39db136aaf998d3aa0f7f25c331def336a.tar.xz
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>
Diffstat (limited to 'sound/soc/fsl')
-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)
/*