acpi_call-dkms: fix linux4.12 build

Fixes #7040
This commit is contained in:
Michael Gehring 2017-07-15 00:38:15 +00:00
parent cb59ab0fe4
commit 783532482d
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- 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

View file

@ -1,7 +1,7 @@
# Template file for 'acpi_call-dkms'
pkgname=acpi_call-dkms
version=1.2.0
revision=1
revision=2
wrksrc=acpi_call-${version}
only_for_archs="i686 x86_64 x86_64-musl"
short_desc="Kernel module allowing calls to ACPI methods through /proc/acpi/call"