[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110908161341.GA3098@opensource.wolfsonmicro.com>
Date: Thu, 8 Sep 2011 09:13:42 -0700
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Mans Rullgard <mans.rullgard@...aro.org>
Cc: linux-omap@...r.kernel.org, linaro-dev@...ts.linaro.org,
Tony Lindgren <tony@...mide.com>,
Russell King <linux@....linux.org.uk>,
Jarkko Nikula <jhnikula@...il.com>, Liam Girdwood <lrg@...com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org
Subject: Re: [PATCH] ASoC: omap: convert per-board modules to platform drivers
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists