]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: atmel_pcm: make it buildable as module
authorBo Shen <voice.shen@atmel.com>
Thu, 31 Jan 2013 03:53:37 +0000 (11:53 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Feb 2013 18:34:13 +0000 (18:34 +0000)
commitd8976cfd8257cd9539f19cd7fe512be468ed8118
treeefd2a5ae8789c88b49f99ce812a86cee442404b4
parent153f5a18e4a88d8a3c2d1a19658a3ce34559b473
ASoC: atmel_pcm: make it buildable as module

When build as module, it reports following error, using this patch
fix it

sound/soc/atmel/atmel-pcm-pdc.c:387: error: redefinition of 'atmel_pcm_pdc_platform_register'
sound/soc/atmel/atmel-pcm.h:95: note: previous definition of 'atmel_pcm_pdc_platform_register' was here
sound/soc/atmel/atmel-pcm-pdc.c:393: error: redefinition of 'atmel_pcm_pdc_platform_unregister'
sound/soc/atmel/atmel-pcm.h:99: note: previous definition of 'atmel_pcm_pdc_platform_unregister' was here

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/atmel-pcm.h