ARM: OMAP3: clock data: cleanup AM3[35]x SoC detection
authorKevin Hilman <khilman@ti.com>
Wed, 4 Jan 2012 23:33:17 +0000 (15:33 -0800)
committerKevin Hilman <khilman@ti.com>
Fri, 25 May 2012 22:48:48 +0000 (15:48 -0700)
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>
arch/arm/mach-omap2/clock3xxx_data.c

index 4e1a3b0..1efdec2 100644 (file)
@@ -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()) {