| 1 |
diff -ur 2/Makefile 3/Makefile |
| 2 |
--- 2/Makefile 2024-10-27 02:06:45.157263482 +0100 |
| 3 |
+++ 3/Makefile 2024-10-27 02:05:12.925786989 +0100 |
| 4 |
@@ -1,3 +1,5 @@ |
| 5 |
+obj-m += dkms_patches_test.o |
| 6 |
+ |
| 7 |
all: |
| 8 |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules |
| 9 |
|
| 10 |
diff -ur 2/dkms_patches_test.c 3/dkms_patches_test.c |
| 11 |
--- 2/dkms_patches_test.c 2024-10-27 02:07:01.709171430 +0100 |
| 12 |
+++ 3/dkms_patches_test.c 2024-10-27 02:05:12.925786989 +0100 |
| 13 |
@@ -1,5 +1,7 @@ |
| 14 |
#include <linux/module.h> |
| 15 |
+#include <linux/kernel.h> |
| 16 |
#include <linux/init.h> |
| 17 |
+ |
| 18 |
#define DKMS_TEST_VER "1.0" |
| 19 |
|
| 20 |
MODULE_LICENSE("GPL"); |