Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1328656 > unrolled thread
| Started by | green@linuxhacker.ru |
|---|---|
| First post | 2016-02-08 01:00 +0100 |
| Last post | 2016-02-08 03:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[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
| From | green@linuxhacker.ru |
|---|---|
| Date | 2016-02-08 01:00 +0100 |
| Subject | [PATCH] drm: Export debugfs functionality for GPL code only |
| Message-ID | <qZHpg-5iF-7@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-02-08 03:30 +0100 |
| Message-ID | <qZJKq-6We-15@gated-at.bofh.it> |
| In reply to | #1328656 |
On Sun, Feb 07, 2016 at 06:50:49PM -0500, green@linuxhacker.ru wrote: > 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> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web