Skip to content

Commit

Permalink
clock-mx51: rename CLOCK1 to CLOCK_CCGR for better readability
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Bénard <eric@eukrea.com>
  • Loading branch information
Eric Bénard authored and Sascha Hauer committed Oct 19, 2010
1 parent 0076232 commit 7e5a747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-mx5/clock-mx51.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ static struct clk emi_slow_clk = {
.get_rate = clk_emi_slow_get_rate,
};

#define DEFINE_CLOCK1(name, i, er, es, pfx, p, s) \
#define DEFINE_CLOCK_CCGR(name, i, er, es, pfx, p, s) \
static struct clk name = { \
.id = i, \
.enable_reg = er, \
Expand Down Expand Up @@ -900,7 +900,7 @@ DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET,
NULL, NULL, &ipg_clk, NULL);

/* NFC */
DEFINE_CLOCK1(nfc_clk, 0, MXC_CCM_CCGR5, MXC_CCM_CCGRx_CG10_OFFSET,
DEFINE_CLOCK_CCGR(nfc_clk, 0, MXC_CCM_CCGR5, MXC_CCM_CCGRx_CG10_OFFSET,
clk_nfc, &emi_slow_clk, NULL);

/* SSI */
Expand Down

0 comments on commit 7e5a747

Please sign in to comment.