void-packages/srcpkgs/acpi_call-dkms/patches/linux4.12.patch

12 lines
344 B
Diff

--- acpi_call.c.orig 2017-01-03 17:17:55.000000000 +0000
+++ acpi_call.c 2017-07-15 00:28:28.259960007 +0000
@@ -7,7 +7,7 @@
#include <linux/version.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
#include <linux/acpi.h>
#else