]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl: Fix build problem
authorGuenter Roeck <linux@roeck-us.net>
Wed, 11 Jun 2014 07:13:52 +0000 (00:13 -0700)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:53 +0000 (21:16 -0600)
commit790327694e9df632fb656cfb0060909819b232e5
tree322b6a304f1057cc57e0e4af930c4f3c5410f6f1
parent5dcd0117f8ee67d454119efd2ab5190e86ba05c0
ASoC: fsl: Fix build problem

Commit 432481220 (ASoC: fsl-ssi: Use regmap) removed struct ccsr_ssi.
Unfortunately, the structure is still used. This causes
mpc85xx_smp_defconfig and mpc85xx_defconfig builds to fail with

sound/soc/fsl/fsl_dma.c:926:50:
  error: invalid use of undefined type 'struct ccsr_ssi'
  dma->ssi_stx_phys = res.start + offsetof(struct ccsr_ssi, stx0);
ound/soc/fsl/fsl_dma.c:927:50:
  error: invalid use of undefined type 'struct ccsr_ssi'
  dma->ssi_srx_phys = res.start + offsetof(struct ccsr_ssi, srx0);

Fix by using constants, similar to original commit.

Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 3d5f615f9fcba6df382bd9a204b5e9ad3080ac48)
sound/soc/fsl/fsl_dma.c