diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h index 84a2ce9a..7ea84826 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h | |||
@@ -21,10 +21,10 @@ | |||
21 | 21 | ||
22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
23 | 23 | ||
24 | #ifdef CONFIG_TEGRA_CLK_FRAMEWORK | ||
25 | void gm20b_init_clk_ops(struct gpu_ops *gops); | 24 | void gm20b_init_clk_ops(struct gpu_ops *gops); |
26 | #else | 25 | |
27 | static inline void gm20b_init_clk_ops(struct gpu_ops *gops) {} | 26 | #ifdef CONFIG_COMMON_CLK |
27 | int gm20b_register_gpcclk(struct gk20a *g); | ||
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #endif /* _NVHOST_CLK_GM20B_H_ */ | 30 | #endif /* _NVHOST_CLK_GM20B_H_ */ |