From 0406900ca944305f9713905f4d7363fc2d9cbbea Mon Sep 17 00:00:00 2001 From: Nitin Kumbhar Date: Sun, 12 Aug 2018 22:59:24 +0530 Subject: gpu: nvgpu: move gm20b clk debugfs to linux Use nvgpu_os_linux_ops to initialize gm20b debugfs functions. gm20b_clk_init_debugfs() will be invoked during initialization from nvgpu_finalize_poweron_linux(). JIRA NVGPU-603 Change-Id: Ie89e427cc589ae14e1e7f5918d918126fb4afd77 Signed-off-by: Nitin Kumbhar Reviewed-on: https://git-master.nvidia.com/r/1797905 Reviewed-by: svc-misra-checker GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index 51ddb561..512da9df 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c @@ -555,9 +555,6 @@ static const struct gpu_ops gm20b_ops = { .clk = { .init_clk_support = gm20b_init_clk_support, .suspend_clk_support = gm20b_suspend_clk_support, -#ifdef CONFIG_DEBUG_FS - .init_debugfs = gm20b_clk_init_debugfs, -#endif .get_voltage = gm20b_clk_get_voltage, .get_gpcclk_clock_counter = gm20b_clk_get_gpcclk_clock_counter, .pll_reg_write = gm20b_clk_pll_reg_write, -- cgit v1.2.2