summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2012-01-04 15:33:17 -0800
committerKevin Hilman <khilman@ti.com>2012-05-25 15:48:48 -0700
commit00633d7c7a0243940fc616bee573bcf497db79b9 (patch)
treeefa34bc138e71160577d9a2ddcccc60d430cce5b /arch/arm
parentcdd3a354a05b0c33fe33ab11a0fb0838396cad19 (diff)
downloadtalos-op-linux-00633d7c7a0243940fc616bee573bcf497db79b9.tar.gz
talos-op-linux-00633d7c7a0243940fc616bee573bcf497db79b9.zip
ARM: OMAP3: clock data: cleanup AM3[35]x SoC detection
Use the more generic SoC family soc_is_am35xx() instead of the specific cpu_is_omap3517() (which is being removed.) Acked-by: Vaibhav Hiremath <hvaibhav@ti.com> Tested-by: Vaibhav Hiremath <hvaibhav@ti.com> Tested-by: Mark A. Greer <mgreer@animalcreek.com> Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/clock3xxx_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c
index 4e1a3b0e8cc8..1efdec236ae8 100644
--- a/arch/arm/mach-omap2/clock3xxx_data.c
+++ b/arch/arm/mach-omap2/clock3xxx_data.c
@@ -3514,7 +3514,7 @@ int __init omap3xxx_clk_init(void)
struct omap_clk *c;
u32 cpu_clkflg = 0;
- if (cpu_is_omap3517()) {
+ if (soc_is_am35xx()) {
cpu_mask = RATE_IN_34XX;
cpu_clkflg = CK_AM35XX;
} else if (cpu_is_omap3630()) {
OpenPOWER on IntegriCloud