提交 7e5a7471 编写于 作者: E Eric Bénard 提交者: Sascha Hauer

clock-mx51: rename CLOCK1 to CLOCK_CCGR for better readability

Signed-off-by: NEric Bénard <eric@eukrea.com>
上级 0076232d
...@@ -772,7 +772,7 @@ static struct clk emi_slow_clk = { ...@@ -772,7 +772,7 @@ static struct clk emi_slow_clk = {
.get_rate = clk_emi_slow_get_rate, .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 = { \ static struct clk name = { \
.id = i, \ .id = i, \
.enable_reg = er, \ .enable_reg = er, \
...@@ -900,7 +900,7 @@ DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET, ...@@ -900,7 +900,7 @@ DEFINE_CLOCK(fec_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG12_OFFSET,
NULL, NULL, &ipg_clk, NULL); NULL, NULL, &ipg_clk, NULL);
/* NFC */ /* 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); clk_nfc, &emi_slow_clk, NULL);
/* SSI */ /* SSI */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册