• Bo Shen's avatar
    ASoC: atmel_pcm: make it buildable as module · d8976cfd
    Bo Shen authored
    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: default avatarBo Shen <voice.shen@atmel.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    d8976cfd
atmel-pcm.h 3.87 KB