From 30b9cbe35a2a0adc4e3a65b033dc0f61046783ea Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 28 Sep 2017 10:49:06 -0700 Subject: gpu: nvgpu: Remove bios_blob debugfs linux/debugfs.h was included in gk20a.h because of the debugfs entry bios_blob, which can be used for checking contents of VBIOS. That has never been used, so instead of abstracting it, this patch removes the feature altogether. Two files were using debugfs but did not #include . They failed to build now that gk20a.h no longer #includes it, so added explit #include. JIRA NVGPU-259 Change-Id: Ie1ea9be1a8920441b1616f34e64e505e6e10e38c Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1570404 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index b6f6a97b..8efb009a 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -45,9 +45,6 @@ struct nvgpu_mem_sgt; #include #include #include -#ifdef CONFIG_DEBUG_FS -#include -#endif #include #include @@ -1239,9 +1236,6 @@ struct gk20a { u32 tpc_fs_mask_user; struct nvgpu_bios bios; -#ifdef CONFIG_DEBUG_FS - struct debugfs_blob_wrapper bios_blob; -#endif bool bios_is_init; struct nvgpu_clk_arb *clk_arb; -- cgit v1.2.2