]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
omap2: standardize clock.h enable_reg/enable_bit order
authorPaul Walmsley <paul@pwsan.com>
Wed, 2 May 2007 18:33:21 +0000 (12:33 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 3 May 2007 17:58:16 +0000 (17:58 +0000)
A few of the clock definitions in mach-omap2/clock.h list the
.enable_bit member before .enable_reg.  This fixes those to conform
with the order used in the rest of the file.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.h

index 71e6185ec9d2ae2d6ba1ff199ce930ba2f96b6b4..40039abc2f7892ae56baa688303b394dcd097804 100644 (file)
@@ -1318,8 +1318,8 @@ static struct clk mcbsp1_ick = {
        .name           = "mcbsp1_ick",
        .parent         = &l4_ck,
        .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
-       .enable_bit     = 15,
        .enable_reg     = (void __iomem *)&CM_ICLKEN1_CORE,      /* bit16 */
+       .enable_bit     = 15,
        .recalc         = &omap2_followparent_recalc,
 };
 
@@ -1327,8 +1327,8 @@ static struct clk mcbsp1_fck = {
        .name           = "mcbsp1_fck",
        .parent         = &func_96m_ck,
        .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
-       .enable_bit     = 15,
        .enable_reg     = (void __iomem *)&CM_FCLKEN1_CORE,
+       .enable_bit     = 15,
        .recalc         = &omap2_followparent_recalc,
 };
 
@@ -1336,8 +1336,8 @@ static struct clk mcbsp2_ick = {
        .name           = "mcbsp2_ick",
        .parent         = &l4_ck,
        .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
-       .enable_bit     = 16,
        .enable_reg     = (void __iomem *)&CM_ICLKEN1_CORE,
+       .enable_bit     = 16,
        .recalc         = &omap2_followparent_recalc,
 };
 
@@ -1345,8 +1345,8 @@ static struct clk mcbsp2_fck = {
        .name           = "mcbsp2_fck",
        .parent         = &func_96m_ck,
        .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
-       .enable_bit     = 16,
        .enable_reg     = (void __iomem *)&CM_FCLKEN1_CORE,
+       .enable_bit     = 16,
        .recalc         = &omap2_followparent_recalc,
 };