Thread (16 messages) 16 messages, 3 authors, 2012-07-04
STALE5103d
Revisions (4)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current
  4. v1 [diff vs current]

[PATCH 1/4] ARM: OMAP2+: Introduce CONFIG_SOC_HAS_OMAP_DPLL macro

From: R, Sricharan <hidden>
Date: 2012-05-11 06:16:32
Also in: linux-omap

Vaibhav,
[snip]
quoted
diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h
index d0ef57c..095bee8 100644
--- a/arch/arm/plat-omap/include/plat/clock.h
+++ b/arch/arm/plat-omap/include/plat/clock.h
@@ -156,7 +156,7 @@ struct dpll_data {
? ? ? u8 ? ? ? ? ? ? ? ? ? ? ?min_divider;
? ? ? u16 ? ? ? ? ? ? ? ? ? ? max_divider;
? ? ? u8 ? ? ? ? ? ? ? ? ? ? ?modes;
-#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
+#ifdef CONFIG_SOC_HAS_OMAP_DPLL
? ? ? void __iomem ? ? ? ? ? ?*autoidle_reg;
? ? ? void __iomem ? ? ? ? ? ?*idlest_reg;
? ? ? u32 ? ? ? ? ? ? ? ? ? ? autoidle_mask;
@@ -167,7 +167,7 @@ struct dpll_data {
? ? ? u8 ? ? ? ? ? ? ? ? ? ? ?auto_recal_bit;
? ? ? u8 ? ? ? ? ? ? ? ? ? ? ?recal_en_bit;
? ? ? u8 ? ? ? ? ? ? ? ? ? ? ?recal_st_bit;
-# ?endif
+#endif
I had submitted similar patch recently, and Kevin had suggested that
Instead of adding config option, we shoule simply get rid of this ifdef
completely.

Refer to
http://www.mail-archive.com/linux-omap at vger.kernel.org/msg68293.html


Waiting for Paul to conform here.
 Thanks for pointing that out. Will check on this and Paul's PRCM series
 cleanup series then.

Thanks,
 Sricharan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help