]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Davinci: tnetv107x: retain psc reg base after init
authorCyril Chemparathy <cyril@ti.com>
Wed, 4 Aug 2010 01:04:16 +0000 (21:04 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 24 Sep 2010 14:40:25 +0000 (07:40 -0700)
This is a bugfix for the original tnetv107x submission series.  The psc_regs
base array was being discarded post-init, and this was causing a crash during
post-init clock enable/disable.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/tnetv107x.c

index 864e60482c536f8e1cb3b05cbf5aedc426bb6305..06d2ac9dcf3d1bf7ed25c996f496dcdd5b7cd782 100644 (file)
@@ -104,7 +104,7 @@ static u32 pll_ext_freq[] = {
 };
 
 /* PSC control registers */
-static u32 psc_regs[] __initconst = { TNETV107X_PSC_BASE };
+static u32 psc_regs[] = { TNETV107X_PSC_BASE };
 
 /* Host map for interrupt controller */
 static u32 intc_host_map[] = { 0x01010000, 0x01010101, -1 };