projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0076232
)
clock-mx51: rename CLOCK1 to CLOCK_CCGR for better readability
author
Eric Bénard
<eric@eukrea.com>
Tue, 12 Oct 2010 10:26:32 +0000
(12:26 +0200)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Tue, 19 Oct 2010 16:44:59 +0000
(18:44 +0200)
Signed-off-by: Eric Bénard <eric@eukrea.com>
arch/arm/mach-mx5/clock-mx51.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-mx5/clock-mx51.c
b/arch/arm/mach-mx5/clock-mx51.c
index 7deb6837937a13d947ccc0fe8cb52a67710241a8..9a39492c5b23f2519ad8f6df37ddbe5358e6eabf 100644
(file)
--- 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 = {
.get_rate = clk_emi_slow_get_rate,
};
-#define DEFINE_CLOCK
1(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, \
@@
-900,7
+900,7
@@
DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET,
NULL, NULL, &ipg_clk, NULL);
/* NFC */
-DEFINE_CLOCK
1
(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 */