Merge pull request #158 from karolherbst/fix_4.12

fix building against 4.12

Should work with older kernels too, it was first introduced with torvalds/linux@c22ce14 which includes asm/uaccess.h
develop
Peter Wu 7 years ago committed by GitHub
commit 9dd227019a

@ -31,7 +31,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/module.h> #include <linux/module.h>
#include <asm/uaccess.h> #include <linux/uaccess.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>

Loading…
Cancel
Save