Permalink
Browse files

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
  • Loading branch information...
2 parents 0c38f97 + 322c962 commit 9dd227019aac8f125e04befa2c0b1bf0624be482 @Lekensteyn Lekensteyn committed on GitHub Jul 16, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 bbswitch.c
View
@@ -31,7 +31,7 @@
#include <linux/pci.h>
#include <linux/acpi.h>
#include <linux/module.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
#include <linux/suspend.h>
#include <linux/seq_file.h>
#include <linux/pm_runtime.h>

0 comments on commit 9dd2270

Please sign in to comment.