]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - tools/virtio/linux/module.h
tools/virtio: move module license stub to module.h
[linux-imx.git] / tools / virtio / linux / module.h
index 3039a7e972b6cae8b90e57c17d26fff802c3096c..28ce95a059978563eb42ea4942a08e186d063ae6 100644 (file)
@@ -1 +1,6 @@
 #include <linux/export.h>
+
+#define MODULE_LICENSE(__MODULE_LICENSE_value) \
+       static __attribute__((unused)) const char *__MODULE_LICENSE_name = \
+               __MODULE_LICENSE_value
+