]>
Commit | Line | Data |
---|---|---|
16da86e8 JP |
1 | diff -urN acpi_call-1.1.0.orig/acpi_call.c acpi_call-1.1.0/acpi_call.c |
2 | --- acpi_call-1.1.0.orig/acpi_call.c 2013-07-05 18:06:13.000000000 +0200 | |
7e3b2d5b JP |
3 | +++ acpi_call-1.1.0/acpi_call.c 2019-12-29 00:25:36.948131987 +0100 |
4 | @@ -5,8 +5,11 @@ | |
5 | #include <linux/version.h> | |
16da86e8 JP |
6 | #include <linux/proc_fs.h> |
7 | #include <linux/slab.h> | |
7e3b2d5b | 8 | +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) |
16da86e8 JP |
9 | #include <asm/uaccess.h> |
10 | -#include <acpi/acpi.h> | |
7e3b2d5b | 11 | +#endif |
16da86e8 JP |
12 | +#include <linux/acpi.h> |
13 | +#include <linux/uaccess.h> | |
14 | ||
15 | MODULE_LICENSE("GPL"); | |
16 |