WSL2-Linux-Kernel/sound/soc/fsl
Grant Likely f487537c2b powerpc/5200: Fix build error in sound code.
Compiling in the MPC5200 sound drivers results in the following build error:

sound/soc/fsl/mpc5200_psc_ac97.o: In function `to_psc_dma_stream':
mpc5200_psc_ac97.c:(.text+0x0): multiple definition of `to_psc_dma_stream'
sound/soc/fsl/mpc5200_dma.o:mpc5200_dma.c:(.text+0x0): first defined here
sound/soc/fsl/efika-audio-fabric.o: In function `to_psc_dma_stream':
efika-audio-fabric.c:(.text+0x0): multiple definition of `to_psc_dma_stream'
sound/soc/fsl/mpc5200_dma.o:mpc5200_dma.c:(.text+0x0): first defined here
make[3]: *** [sound/soc/fsl/built-in.o] Error 1
make[2]: *** [sound/soc/fsl] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

This patch fixes it by declaring the inline function in the header file to
also be a static.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Jon Smirl <jonsmirl@gmail.com>
Tested-by: John Hilmar Linkhorst <John.Linkhorst@rwth-aachen.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-06-15 14:47:04 -06:00
..
Kconfig ASoC: remove BROKEN from Efika and pcm030 fabric drivers 2009-06-30 10:23:41 +01:00
Makefile ASoC: Fabric bindings for STAC9766 on the Efika 2009-05-26 21:13:02 +01:00
efika-audio-fabric.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00
fsl_dma.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fsl_dma.h ALSA: asoc: fsl - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:40 +02:00
fsl_ssi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fsl_ssi.h ASoC: add support for SSI asynchronous mode to the Freescale SSI drivers 2009-03-06 13:37:16 +00:00
mpc5200_dma.c of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
mpc5200_dma.h powerpc/5200: Fix build error in sound code. 2010-06-15 14:47:04 -06:00
mpc5200_psc_ac97.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
mpc5200_psc_ac97.h ASoC: AC97 driver for mpc5200 2009-05-26 21:13:00 +01:00
mpc5200_psc_i2s.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
mpc5200_psc_i2s.h ASoC: Main rewite of the mpc5200 audio DMA code 2009-05-26 21:12:50 +01:00
mpc8610_hpcd.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
pcm030-audio-fabric.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00
soc-of-simple.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00