aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/common/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/common/clock.c')
-rw-r--r--arch/mips/alchemy/common/clock.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/alchemy/common/clock.c b/arch/mips/alchemy/common/clock.c
index 3cd4118e49fe..d7557cde271a 100644
--- a/arch/mips/alchemy/common/clock.c
+++ b/arch/mips/alchemy/common/clock.c
@@ -151,7 +151,7 @@ static struct clk __init *alchemy_clk_setup_cpu(const char *parent_name,
151 id.name = ALCHEMY_CPU_CLK; 151 id.name = ALCHEMY_CPU_CLK;
152 id.parent_names = &parent_name; 152 id.parent_names = &parent_name;
153 id.num_parents = 1; 153 id.num_parents = 1;
154 id.flags = CLK_IS_BASIC | CLK_IGNORE_UNUSED; 154 id.flags = CLK_IS_BASIC;
155 id.ops = &alchemy_clkops_cpu; 155 id.ops = &alchemy_clkops_cpu;
156 h->init = &id; 156 h->init = &id;
157 157
@@ -236,7 +236,7 @@ static struct clk __init *alchemy_clk_setup_aux(const char *parent_name,
236 id.name = name; 236 id.name = name;
237 id.parent_names = &parent_name; 237 id.parent_names = &parent_name;
238 id.num_parents = 1; 238 id.num_parents = 1;
239 id.flags = CLK_GET_RATE_NOCACHE | CLK_IGNORE_UNUSED; 239 id.flags = CLK_GET_RATE_NOCACHE;
240 id.ops = &alchemy_clkops_aux; 240 id.ops = &alchemy_clkops_aux;
241 241
242 a->reg = reg; 242 a->reg = reg;
@@ -743,8 +743,7 @@ static int __init alchemy_clk_init_fgens(int ctype)
743 default: 743 default:
744 return -ENODEV; 744 return -ENODEV;
745 } 745 }
746 id.flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE | 746 id.flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE;
747 CLK_IGNORE_UNUSED;
748 747
749 a = kzalloc((sizeof(*a)) * 6, GFP_KERNEL); 748 a = kzalloc((sizeof(*a)) * 6, GFP_KERNEL);
750 if (!a) 749 if (!a)
@@ -942,8 +941,7 @@ static int __init alchemy_clk_setup_imux(int ctype)
942 id.ops = &alchemy_clkops_csrc; 941 id.ops = &alchemy_clkops_csrc;
943 id.parent_names = (const char **)alchemy_clk_csrc_parents; 942 id.parent_names = (const char **)alchemy_clk_csrc_parents;
944 id.num_parents = 7; 943 id.num_parents = 7;
945 id.flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE | 944 id.flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE;
946 CLK_IGNORE_UNUSED;
947 945
948 dt = alchemy_csrc_dt1; 946 dt = alchemy_csrc_dt1;
949 switch (ctype) { 947 switch (ctype) {