summaryrefslogtreecommitdiff
path: root/drivers/clk/mmp/clk-pxa168.c
diff options
context:
space:
mode:
authorChao Xie <chao.xie@marvell.com>2014-10-31 05:13:41 +0300
committerMichael Turquette <mturquette@linaro.org>2014-11-13 03:33:22 +0300
commit2bd1e256e45052f2244403f822fd85aa64a6aa00 (patch)
treedb8a3a795d63d39557b39bc8ca0da34fe1a2457d /drivers/clk/mmp/clk-pxa168.c
parent206c5f60a3d902bc4b56dab2de3e88de5eb06108 (diff)
downloadlinux-2bd1e256e45052f2244403f822fd85aa64a6aa00.tar.xz
clk: mmp: add prefix "mmp" for structures defined for clk-frac
The structures defined for clk-frac will be used out side of clk-frac.c. To avoid conflicts, add prefix "mmp" for these structures' name. Signed-off-by: Chao Xie <chao.xie@marvell.com> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/mmp/clk-pxa168.c')
-rw-r--r--drivers/clk/mmp/clk-pxa168.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mmp/clk-pxa168.c b/drivers/clk/mmp/clk-pxa168.c
index 014396b028a2..75266ac80829 100644
--- a/drivers/clk/mmp/clk-pxa168.c
+++ b/drivers/clk/mmp/clk-pxa168.c
@@ -47,7 +47,7 @@
static DEFINE_SPINLOCK(clk_lock);
-static struct clk_factor_masks uart_factor_masks = {
+static struct mmp_clk_factor_masks uart_factor_masks = {
.factor = 2,
.num_mask = 0x1fff,
.den_mask = 0x1fff,
@@ -55,7 +55,7 @@ static struct clk_factor_masks uart_factor_masks = {
.den_shift = 0,
};
-static struct clk_factor_tbl uart_factor_tbl[] = {
+static struct mmp_clk_factor_tbl uart_factor_tbl[] = {
{.num = 8125, .den = 1536}, /*14.745MHZ */
};