aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_debugfs.c
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2023-12-23 18:32:48 +0000
committerJani Nikula <[email protected]>2024-01-02 13:50:13 +0000
commit0c75d52190b8bfa22cdb66e07148aea599c4535d (patch)
tree22515f508f0a91dced584afafd48797eeecc9a2f /drivers/gpu/drm/drm_debugfs.c
parentdrm/vkms: Avoid reading beyond LUT array (diff)
downloadkernel-0c75d52190b8bfa22cdb66e07148aea599c4535d.tar.gz
kernel-0c75d52190b8bfa22cdb66e07148aea599c4535d.zip
drm/debugfs: drop unneeded DEBUG_FS guard
The Makefile enables/disables the file compilation depending on CONFIG_DEBUG_FS. Signed-off-by: Dario Binacchi <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs.c')
-rw-r--r--drivers/gpu/drm/drm_debugfs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index f4715a67e340..08fcefd804bc 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -45,8 +45,6 @@
#include "drm_crtc_internal.h"
#include "drm_internal.h"
-#if defined(CONFIG_DEBUG_FS)
-
/***************************************************
* Initialization, etc.
**************************************************/
@@ -647,5 +645,3 @@ void drm_debugfs_encoder_remove(struct drm_encoder *encoder)
debugfs_remove_recursive(encoder->debugfs_entry);
encoder->debugfs_entry = NULL;
}
-
-#endif /* CONFIG_DEBUG_FS */