blob: ddea4fafc695993a619711c46e5e4c974653af32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/acpi_call.c b/acpi_call.c
index c059511..b622bf7 100644
--- a/acpi_call.c
+++ b/acpi_call.c
@@ -6,7 +6,9 @@
#include <linux/version.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
#include <asm/uaccess.h>
+#endif
#include <linux/uaccess.h>
MODULE_LICENSE("GPL");
|