Messages in this thread Patch in this message | | | From | shubhrajyoti.datta@gmail ... | Subject | [PATCH v3 10/10] clk: clock-wizard: Fix the compilation failure | Date | Thu, 28 Nov 2019 12:06:17 +0530 |
| |
From: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
After 90b6c5c73 (clk: Remove CLK_IS_BASIC clk flag) The CLK_IS_BASIC is deleted. Adapt the driver for the same.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> --- drivers/clk/clk-xlnx-clock-wizard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk-xlnx-clock-wizard.c b/drivers/clk/clk-xlnx-clock-wizard.c index 9993543..76cfa05 100644 --- a/drivers/clk/clk-xlnx-clock-wizard.c +++ b/drivers/clk/clk-xlnx-clock-wizard.c @@ -345,7 +345,7 @@ static struct clk *clk_wzrd_register_divf(struct device *dev, else init.ops = &clk_wzrd_clk_divider_ops_f; - init.flags = flags | CLK_IS_BASIC; + init.flags = flags; init.parent_names = (parent_name ? &parent_name : NULL); init.num_parents = (parent_name ? 1 : 0); @@ -402,7 +402,7 @@ static struct clk *clk_wzrd_register_divider(struct device *dev, init.ops = &clk_divider_ro_ops; else init.ops = &clk_wzrd_clk_divider_ops; - init.flags = flags | CLK_IS_BASIC; + init.flags = flags; init.parent_names = (parent_name ? &parent_name : NULL); init.num_parents = (parent_name ? 1 : 0); -- 2.1.1
| |