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

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Sep 8 16:13:42 UTC 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 linaro-dev mailing list