diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c index 2f54e4bb..5b3df718 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/clk/tegra.h> | 25 | #include <linux/clk/tegra.h> |
26 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) | 26 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) |
27 | #include <soc/tegra/fuse.h> | 27 | #include <soc/tegra/fuse.h> |
28 | #include <soc/tegra/tegra-dvfs.h> | ||
28 | #else | 29 | #else |
29 | #include <linux/tegra-fuse.h> | 30 | #include <linux/tegra-fuse.h> |
30 | #endif | 31 | #endif |
@@ -1310,6 +1311,8 @@ int gm20b_register_gpcclk(struct gk20a *g) { | |||
1310 | } | 1311 | } |
1311 | 1312 | ||
1312 | clk->tegra_clk = c; | 1313 | clk->tegra_clk = c; |
1314 | clk_register_clkdev(c, "gpcclk", "gpcclk"); | ||
1315 | |||
1313 | return 0; | 1316 | return 0; |
1314 | } | 1317 | } |
1315 | #endif /* CONFIG_COMMON_CLK */ | 1318 | #endif /* CONFIG_COMMON_CLK */ |