Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1328656

[PATCH] drm: Export debugfs functionality for GPL code only

From green@linuxhacker.ru
Newsgroups linux.kernel
Subject [PATCH] drm: Export debugfs functionality for GPL code only
Date 2016-02-08 01:00 +0100
Message-ID <qZHpg-5iF-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Oleg Drokin <green@linuxhacker.ru>

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 <green@linuxhacker.ru>
---
 drivers/gpu/drm/drm_debugfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 3bcf8e6..17ae4ae 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -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.
-- 
2.1.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] drm: Export debugfs functionality for GPL code only green@linuxhacker.ru - 2016-02-08 01:00 +0100
  Re: [PATCH] drm: Export debugfs functionality for GPL code only Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-08 03:30 +0100

csiph-web