diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:20:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:20:55 +0000 |
commit | c2c09589f14ac77fd4e29ca36483dfd80c439074 (patch) | |
tree | e102666aaa612a28c16dcd4097466764e97ba96a /test/dkms_emptyver_test/dkms_emptyver_test.c | |
parent | Initial commit. (diff) | |
download | dkms-c2c09589f14ac77fd4e29ca36483dfd80c439074.tar.xz dkms-c2c09589f14ac77fd4e29ca36483dfd80c439074.zip |
Adding upstream version 3.0.10.upstream/3.0.10upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/dkms_emptyver_test/dkms_emptyver_test.c')
-rw-r--r-- | test/dkms_emptyver_test/dkms_emptyver_test.c | 21 |
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(""); |