Skip to contentSkip to conversation

omap3: move check_revision above check_features

PATCH New Nishanth Menon 1 participant 1 message Nov 13, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap3: move check_revision above check_features

omap3_check_revision() does not depend on omap3_check_features() move this above so that we can add logic based on revision detected in check_features.

arch/arm/mach-omap2/id.c +1 -1
index 441ca26..6c11b41 100644
@@ -352,8 +352,8 @@ void __init omap2_check_revision(void)
 	if (cpu_is_omap24xx())
 		omap24xx_check_revision();
 	else if (cpu_is_omap34xx()) {
-		omap3_check_features();
 		omap3_check_revision();
+		omap3_check_features();
 		omap3_cpuinfo();
 	}
 	else if (cpu_is_omap44xx()) {

--7JfCtLOvnd9MIVvH--