diff options
author | Eric Bénard <eric@eukrea.com> | 2010-10-12 06:26:32 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-19 12:44:59 -0400 |
commit | 7e5a747113cabb71ec855411bb7666e8963a75b7 (patch) | |
tree | d171ed6fc8f5744a87e9abb3ca3d6ce3ced5b44b | |
parent | 0076232d54b3fb2908c7fcf19bf699c4e8376213 (diff) |
clock-mx51: rename CLOCK1 to CLOCK_CCGR for better readability
Signed-off-by: Eric Bénard <eric@eukrea.com>
-rw-r--r-- | arch/arm/mach-mx5/clock-mx51.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51.c b/arch/arm/mach-mx5/clock-mx51.c index 7deb6837937a..9a39492c5b23 100644 --- a/arch/arm/mach-mx5/clock-mx51.c +++ b/arch/arm/mach-mx5/clock-mx51.c | |||
@@ -772,7 +772,7 @@ static struct clk emi_slow_clk = { | |||
772 | .get_rate = clk_emi_slow_get_rate, | 772 | .get_rate = clk_emi_slow_get_rate, |
773 | }; | 773 | }; |
774 | 774 | ||
775 | #define DEFINE_CLOCK1(name, i, er, es, pfx, p, s) \ | 775 | #define DEFINE_CLOCK_CCGR(name, i, er, es, pfx, p, s) \ |
776 | static struct clk name = { \ | 776 | static struct clk name = { \ |
777 | .id = i, \ | 777 | .id = i, \ |
778 | .enable_reg = er, \ | 778 | .enable_reg = er, \ |
@@ -900,7 +900,7 @@ DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET, | |||
900 | NULL, NULL, &ipg_clk, NULL); | 900 | NULL, NULL, &ipg_clk, NULL); |
901 | 901 | ||
902 | /* NFC */ | 902 | /* NFC */ |
903 | DEFINE_CLOCK1(nfc_clk, 0, MXC_CCM_CCGR5, MXC_CCM_CCGRx_CG10_OFFSET, | 903 | DEFINE_CLOCK_CCGR(nfc_clk, 0, MXC_CCM_CCGR5, MXC_CCM_CCGRx_CG10_OFFSET, |
904 | clk_nfc, &emi_slow_clk, NULL); | 904 | clk_nfc, &emi_slow_clk, NULL); |
905 | 905 | ||
906 | /* SSI */ | 906 | /* SSI */ |