diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c index 358e7369..eb8f31e8 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c | |||
@@ -1295,7 +1295,7 @@ static long gm20b_round_rate(struct clk_hw *hw, unsigned long rate, | |||
1295 | return rate_gpc2clk_to_gpu(tmp_pll.freq); | 1295 | return rate_gpc2clk_to_gpu(tmp_pll.freq); |
1296 | } | 1296 | } |
1297 | 1297 | ||
1298 | const struct clk_ops gk20a_clk_ops = { | 1298 | static const struct clk_ops gm20b_clk_ops = { |
1299 | .prepare = gm20b_clk_prepare, | 1299 | .prepare = gm20b_clk_prepare, |
1300 | .unprepare = gm20b_clk_unprepare, | 1300 | .unprepare = gm20b_clk_unprepare, |
1301 | .is_prepared = gm20b_clk_is_prepared, | 1301 | .is_prepared = gm20b_clk_is_prepared, |
@@ -1316,7 +1316,7 @@ int gm20b_register_gpcclk(struct gk20a *g) { | |||
1316 | return err; | 1316 | return err; |
1317 | 1317 | ||
1318 | init.name = "gpcclk"; | 1318 | init.name = "gpcclk"; |
1319 | init.ops = &gk20a_clk_ops; | 1319 | init.ops = &gm20b_clk_ops; |
1320 | init.parent_names = &parent_name; | 1320 | init.parent_names = &parent_name; |
1321 | init.num_parents = 1; | 1321 | init.num_parents = 1; |
1322 | init.flags = 0; | 1322 | init.flags = 0; |