summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vringh.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-05-03 22:40:09 +0200
committerRusty Russell <rusty@rustcorp.com.au>2013-05-08 03:19:03 +0200
commitf558a845c3a043d032bb247cdbe50db9202476a1 (patch)
tree044e119d65eb3501280f6209f0678622f78d94b8 /drivers/vhost/vringh.c
parentMerge tag 'remoteproc-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-f558a845c3a043d032bb247cdbe50db9202476a1.tar.xz
linux-f558a845c3a043d032bb247cdbe50db9202476a1.zip
Add missing module license tag to vring helpers.
[ 624.286653] vringh: module license 'unspecified' taints kernel. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/vhost/vringh.c')
-rw-r--r--drivers/vhost/vringh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c
index bff0775e258c..5174ebac288d 100644
--- a/drivers/vhost/vringh.c
+++ b/drivers/vhost/vringh.c
@@ -3,6 +3,7 @@
*
* Since these may be in userspace, we use (inline) accessors.
*/
+#include <linux/module.h>
#include <linux/vringh.h>
#include <linux/virtio_ring.h>
#include <linux/kernel.h>
@@ -1005,3 +1006,5 @@ int vringh_need_notify_kern(struct vringh *vrh)
return __vringh_need_notify(vrh, getu16_kern);
}
EXPORT_SYMBOL(vringh_need_notify_kern);
+
+MODULE_LICENSE("GPL");