diff mbox

[v3,3/7] OMAP4: pm: Change l3_main to l3_main_1 during bus device init

Message ID 1281023276-15679-4-git-send-email-b-cousson@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Benoit Cousson Aug. 5, 2010, 3:47 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index 68f9f2e..89e8125 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -70,7 +70,10 @@  static void omap2_init_processor_devices(void)
 {
 	_init_omap_device("mpu", &mpu_dev);
 	_init_omap_device("iva", &dsp_dev);
-	_init_omap_device("l3_main", &l3_dev);
+	if (cpu_is_omap44xx())
+		_init_omap_device("l3_main_1", &l3_dev);
+	else
+		_init_omap_device("l3_main", &l3_dev);
 }
 
 static int __init omap2_common_pm_init(void)