summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx5/clock.c')
-rw-r--r--arch/arm/mach-mx5/clock.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/arm/mach-mx5/clock.c b/arch/arm/mach-mx5/clock.c
index aacb6af1ee78..6bcc6ad6d0f8 100644
--- a/arch/arm/mach-mx5/clock.c
+++ b/arch/arm/mach-mx5/clock.c
@@ -30,6 +30,7 @@
#include <mach/sdram_autogating.h>
#include "crm_regs.h"
+#include "serial.h"
/* External clock values passed-in by the board code */
static unsigned long external_high_reference, external_low_reference;
@@ -2114,14 +2115,14 @@ static struct clk uart1_clk[] = {
.enable_shift = MXC_CCM_CCGRx_CG4_OFFSET,
.enable = _clk_enable,
.disable = _clk_disable,
-#ifdef UART1_DMA_ENABLE
+#if UART1_DMA_ENABLE
.flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE,
#endif
},
{
.id = 0,
.parent = &ipg_clk,
-#ifdef UART1_DMA_ENABLE
+#if UART1_DMA_ENABLE
.secondary = &aips_tz1_clk,
#endif
.enable_reg = MXC_CCM_CCGR1,
@@ -2140,14 +2141,14 @@ static struct clk uart2_clk[] = {
.enable_shift = MXC_CCM_CCGRx_CG6_OFFSET,
.enable = _clk_enable,
.disable = _clk_disable,
-#ifdef UART2_DMA_ENABLE
+#if UART2_DMA_ENABLE
.flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE,
#endif
},
{
.id = 1,
.parent = &ipg_clk,
-#ifdef UART2_DMA_ENABLE
+#if UART2_DMA_ENABLE
.secondary = &aips_tz1_clk,
#endif
.enable_reg = MXC_CCM_CCGR1,
@@ -2166,7 +2167,7 @@ static struct clk uart3_clk[] = {
.enable_shift = MXC_CCM_CCGRx_CG8_OFFSET,
.enable = _clk_enable,
.disable = _clk_disable,
-#ifdef UART3_DMA_ENABLE
+#if UART3_DMA_ENABLE
.flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE,
#endif
},
@@ -2190,7 +2191,7 @@ static struct clk uart4_clk[] = {
.enable_shift = MXC_CCM_CCGRx_CG5_OFFSET,
.enable = _clk_enable,
.disable = _clk_disable,
-#ifdef UART4_DMA_ENABLE
+#if UART4_DMA_ENABLE
.flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE,
#endif
},
@@ -2214,7 +2215,7 @@ static struct clk uart5_clk[] = {
.enable_shift = MXC_CCM_CCGRx_CG7_OFFSET,
.enable = _clk_enable,
.disable = _clk_disable,
-#ifdef UART5_DMA_ENABLE
+#if UART5_DMA_ENABLE
.flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE,
#endif
},