summaryrefslogtreecommitdiffstats
path: root/test/dkms_emptyver_test/dkms_emptyver_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dkms_emptyver_test/dkms_emptyver_test.c')
-rw-r--r--test/dkms_emptyver_test/dkms_emptyver_test.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/dkms_emptyver_test/dkms_emptyver_test.c b/test/dkms_emptyver_test/dkms_emptyver_test.c
new file mode 100644
index 0000000..a65e693
--- /dev/null
+++ b/test/dkms_emptyver_test/dkms_emptyver_test.c
@@ -0,0 +1,21 @@
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("A Simple dkms test module with empty version");
+
+static int __init dkms_test_init(void)
+{
+ printk(KERN_INFO "DKMS Test Module - Loaded\n");
+ return 0;
+}
+
+static void __exit dkms_test_cleanup(void)
+{
+ printk(KERN_INFO "Cleaning up after dkms test module.\n");
+}
+
+module_init(dkms_test_init);
+module_exit(dkms_test_cleanup);
+MODULE_VERSION("");