[PATCH] ASoC: omap: convert per-board modules to platform drivers

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Sep 8 12:13:42 EDT 2011


On Thu, Sep 08, 2011 at 04:05:53PM +0100, Mans Rullgard wrote:

> +static struct platform_device omap_soc_audio = {
> +	.name	= "omap-soc-audio",
> +	.id	= -1,
> +};
> +

This isn't really accomplishing anything as you're using the same device
name for all boards, it's essentially the same thing as soc-audio just
an OMAP version of that device.  Each machine driver should be a
separate platform driver.



More information about the linux-arm-kernel mailing list