summaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk-tegra-fixed.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2016-04-05 12:56:47 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2016-04-05 12:56:47 +0200
commit6ea7e3873e52902af9ee8c0837450fdb69d54140 (patch)
treeb291dad174446387a166763cfbf3dd351148ecbe /drivers/clk/tegra/clk-tegra-fixed.c
parentscsi: Do not attach VPD to devices that don't support it (diff)
parentLinux 4.6-rc1 (diff)
downloadlinux-6ea7e3873e52902af9ee8c0837450fdb69d54140.tar.xz
linux-6ea7e3873e52902af9ee8c0837450fdb69d54140.zip
Merge branch 'fixes-base' into fixes
Diffstat (limited to 'drivers/clk/tegra/clk-tegra-fixed.c')
-rw-r--r--drivers/clk/tegra/clk-tegra-fixed.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/clk/tegra/clk-tegra-fixed.c b/drivers/clk/tegra/clk-tegra-fixed.c
index da0b5941c89f..d64ec7a1b976 100644
--- a/drivers/clk/tegra/clk-tegra-fixed.c
+++ b/drivers/clk/tegra/clk-tegra-fixed.c
@@ -52,8 +52,7 @@ int __init tegra_osc_clk_init(void __iomem *clk_base, struct tegra_clk *clks,
return -EINVAL;
}
- osc = clk_register_fixed_rate(NULL, "osc", NULL, CLK_IS_ROOT,
- *osc_freq);
+ osc = clk_register_fixed_rate(NULL, "osc", NULL, 0, *osc_freq);
dt_clk = tegra_lookup_dt_id(tegra_clk_clk_m, clks);
if (!dt_clk)
@@ -88,8 +87,7 @@ void __init tegra_fixed_clk_init(struct tegra_clk *tegra_clks)
/* clk_32k */
dt_clk = tegra_lookup_dt_id(tegra_clk_clk_32k, tegra_clks);
if (dt_clk) {
- clk = clk_register_fixed_rate(NULL, "clk_32k", NULL,
- CLK_IS_ROOT, 32768);
+ clk = clk_register_fixed_rate(NULL, "clk_32k", NULL, 0, 32768);
*dt_clk = clk;
}