summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clockdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/ti/clockdomain.c')
-rw-r--r--drivers/clk/ti/clockdomain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/clockdomain.c b/drivers/clk/ti/clockdomain.c
index 07a805125e98..423a99b9f10c 100644
--- a/drivers/clk/ti/clockdomain.c
+++ b/drivers/clk/ti/clockdomain.c
@@ -143,7 +143,7 @@ static void __init of_ti_clockdomain_setup(struct device_node *node)
continue;
}
clk_hw = __clk_get_hw(clk);
- if (clk_hw_get_flags(clk_hw) & CLK_IS_BASIC) {
+ if (!omap2_clk_is_hw_omap(clk_hw)) {
pr_warn("can't setup clkdm for basic clk %s\n",
__clk_get_name(clk));
continue;