Message ID | 55AFA665.4020906@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/clk/clk-scpi.c b/drivers/clk/clk-scpi.c index 06d0558e8f46..f7c8b7a03cfe 100644 --- a/drivers/clk/clk-scpi.c +++ b/drivers/clk/clk-scpi.c @@ -174,7 +174,7 @@ scpi_clk_ops_init(struct device *dev, const struct of_device_id *match, clk = devm_clk_register(dev, &sclk->hw); if (!IS_ERR(clk) && max) - clk_set_rate_range(clk, min, max); + clk_hw_set_rate_range(&sclk->hw, min, max); return clk; }