From: Peter Ujfalusi Date: Fri, 17 Feb 2012 09:12:08 +0000 (+0200) Subject: OMAP4: panda: Correct cpu version check for 4430 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0324e02a077de6bffff566fa43fd7b46f4b3ebd8;p=openwrt%2Fstaging%2Fblogic.git OMAP4: panda: Correct cpu version check for 4430 The cpu_is_omap4430() macro always return with 0. Use the correct cpu_is_omap443x() to check for Panda revision. Signed-off-by: Peter Ujfalusi Acked-by: Tony Lindgren Signed-off-by: Liam Girdwood --- diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 1af564b0487e..e4415917693f 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -530,7 +530,7 @@ void omap4_panda_display_init(void) static void omap4_panda_init_rev(void) { - if (cpu_is_omap4430()) { + if (cpu_is_omap443x()) { /* PandaBoard 4430 */ /* ASoC audio configuration */ panda_abe_audio_data.card_name = "PandaBoard";