22 Dec
2011
22 Dec
'11
3:24 p.m.
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.