drm: Export debugfs functionality for GPL code only
Subsystems (2)
PATCH 1/1 drm: Export debugfs functionality for GPL code only
From: Oleg Drokin <[email protected]>
drm_debugfs_create_files and drm_debugfs_remove_files should only be available for GPL-code only as per Greg-KH
Signed-off-by Oleg Drokin <[email protected]>
--- drivers/gpu/drm/drm_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_debugfs.c +2 -2
@@ -128,7 +128,7 @@ fail:drm_debugfs_remove_files (files, count, minor);return ret; } -EXPORT_SYMBOL (drm_debugfs_create_files); +EXPORT_SYMBOL_GPL (drm_debugfs_create_files);/** * Initialize the DRI debugfs filesystem for a device
@@ -209,7 +209,7 @@ int drm_debugfs_remove_files(const struct drm_info_list *files, int count,mutex_unlock (&minor->debugfs_lock);return 0 ; } -EXPORT_SYMBOL (drm_debugfs_remove_files); +EXPORT_SYMBOL_GPL (drm_debugfs_remove_files);/** * Cleanup the debugfs filesystem resources.
Signature · 1 line
2.1.0
Quoted 6 lines · On Sun, Feb 07, 2016 at 06:50:49PM -0500, [email protected] wrote:
From: Oleg Drokin <[email protected]>
drm_debugfs_create_filesanddrm_debugfs_remove_filesshould only be available for GPL-code only as per Greg-KHSigned-off-by Oleg Drokin <[email protected]>
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel