On Thu, Dec 22, 2011 at 02:42:47PM +0200, Peter Ujfalusi wrote:

> +static void omap4_panda_audio_init(void)
> +{
> +     if (cpu_is_omap4430()) {
> +             /* PandaBoard 4430 */
> +             panda_abe_audio_data.card_name = "PandaBoard";
> +             /* Audio in is connected to HSMIC */
> +             panda_abe_audio_data.has_hsmic = 1;
> +     } else {
> +             /* PandaBoard ES */
> +             panda_abe_audio_data.card_name = "PandaBoardES";

Is audio the only difference between the two boards?  If there's more
stuff it might be more sensible to have a single place which decides
what the differences are rather than scattering it in various places.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to