aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Hilman <[email protected]>2012-06-18 16:17:44 -0600
committerPaul Walmsley <[email protected]>2012-06-18 16:17:44 -0600
commitd44f42e6af483cbdc239d7f28666e711d2e8ab92 (patch)
tree5f2941a9b2f969652b5d30a16eb08b47d153e9e2
parent485802a6c524e62b5924849dd727ddbb1497cc71 (diff)
ARM: OMAP2+: CLEANUP: Remove ARCH_OMAPx ifdef from struct dpll_data
There are certain fields inside 'struct dpll_data' which are included under ARCH_OMAP3 and ARCH_OMAP4 option, which makes it difficult to use it for new devices like, am33xx, ti81xx, etc... So remove the ifdef completely, this will add few fields to the struct unused, but it improves readability and maintainability of the code. Signed-off-by: Kevin Hilman <[email protected]> [[email protected]: wrote detailed changelog] Signed-off-by: Vaibhav Hiremath <[email protected]> Cc: Tony Lindgren <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Santosh Shilimkar <[email protected]> Cc: R Sricharan <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
-rw-r--r--arch/arm/plat-omap/include/plat/clock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h
index d0ef57c1d71b..656b9862279e 100644
--- a/arch/arm/plat-omap/include/plat/clock.h
+++ b/arch/arm/plat-omap/include/plat/clock.h
@@ -156,7 +156,6 @@ struct dpll_data {
u8 min_divider;
u16 max_divider;
u8 modes;
-#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
void __iomem *autoidle_reg;
void __iomem *idlest_reg;
u32 autoidle_mask;
@@ -167,7 +166,6 @@ struct dpll_data {
u8 auto_recal_bit;
u8 recal_en_bit;
u8 recal_st_bit;
-# endif
u8 flags;
};