summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/tnetv107x.c
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2010-08-03 21:04:16 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-09-24 07:40:25 -0700
commit7173d5493799944d47317d9490365a89ee079f2a (patch)
tree40819d499714d9a7664f8c3213cc5b16af8d5cc4 /arch/arm/mach-davinci/tnetv107x.c
parentb987c4b2c9c9db2393f4c089e63d1734301214e5 (diff)
downloadlinux-7173d5493799944d47317d9490365a89ee079f2a.tar.gz
linux-7173d5493799944d47317d9490365a89ee079f2a.tar.bz2
linux-7173d5493799944d47317d9490365a89ee079f2a.zip
Davinci: tnetv107x: retain psc reg base after init
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>
Diffstat (limited to 'arch/arm/mach-davinci/tnetv107x.c')
-rw-r--r--arch/arm/mach-davinci/tnetv107x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/tnetv107x.c b/arch/arm/mach-davinci/tnetv107x.c
index 864e60482c53..06d2ac9dcf3d 100644
--- a/arch/arm/mach-davinci/tnetv107x.c
+++ b/arch/arm/mach-davinci/tnetv107x.c
@@ -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 };