[alsa-devel] [PATCH 1/6] OMAP4: HDMI: Add OMAP device for HDMI audio CPU DAI

Mark Brown broonie at opensource.wolfsonmicro.com
Thu May 5 10:17:59 CEST 2011


On Thu, May 05, 2011 at 02:21:48AM -0500, Ricardo Neri wrote:

> +#if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \
> +	defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE)

Why is this conditional...

>  	platform_device_register(&omap_mcbsp1);
>  	platform_device_register(&omap_mcbsp2);
>  	if (cpu_is_omap243x() || cpu_is_omap34xx() || cpu_is_omap44xx()) {

...but this not?


More information about the Alsa-devel mailing list