Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/dkms_dependencies_test-1.0/dkms_dependencies_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("A Simple dkms test module");

extern void dkms_test_exported_function(void);

static int __init dkms_dependencies_test_init(void)
{
printk(KERN_INFO "DKMS Test Module -%s Loaded\n",DKMS_TEST_VER);
dkms_test_exported_function();
return 0;
}

Expand Down
7 changes: 7 additions & 0 deletions test/dkms_test-1.0/dkms_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ static void __exit dkms_test_cleanup(void)
module_init(dkms_test_init);
module_exit(dkms_test_cleanup);
MODULE_VERSION(DKMS_TEST_VER);

void dkms_test_exported_function(void)
{
printk(KERN_INFO "Function exported by the dkms test module.\n");
}

EXPORT_SYMBOL_GPL(dkms_test_exported_function);
Loading