summaryrefslogtreecommitdiffstats
path: root/kernel/tools/virtio/linux/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/virtio/linux/module.h')
-rw-r--r--kernel/tools/virtio/linux/module.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/tools/virtio/linux/module.h b/kernel/tools/virtio/linux/module.h
new file mode 100644
index 000000000..28ce95a05
--- /dev/null
+++ b/kernel/tools/virtio/linux/module.h
@@ -0,0 +1,6 @@
+#include <linux/export.h>
+
+#define MODULE_LICENSE(__MODULE_LICENSE_value) \
+ static __attribute__((unused)) const char *__MODULE_LICENSE_name = \
+ __MODULE_LICENSE_value
+