summaryrefslogtreecommitdiffstats
path: root/testsuite/module-playground/mod-fake-scsi-mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/module-playground/mod-fake-scsi-mod.c')
-rw-r--r--testsuite/module-playground/mod-fake-scsi-mod.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/module-playground/mod-fake-scsi-mod.c b/testsuite/module-playground/mod-fake-scsi-mod.c
new file mode 100644
index 0000000..916a04d
--- /dev/null
+++ b/testsuite/module-playground/mod-fake-scsi-mod.c
@@ -0,0 +1,21 @@
+#include <linux/init.h>
+#include <linux/module.h>
+
+static int __init test_module_init(void)
+{
+ return 0;
+}
+
+static void test_module_exit(void)
+{
+}
+module_init(test_module_init);
+module_exit(test_module_exit);
+
+void dummy_export(void)
+{
+}
+EXPORT_SYMBOL(dummy_export);
+
+MODULE_AUTHOR("Lucas De Marchi <lucas.demarchi@intel.com>");
+MODULE_LICENSE("LGPL");