summarylogtreecommitdiffstats
path: root/fix_unaligned.patch
blob: 7c463f180fddc99d60db9bed273726b2e9a8763d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/4.18/wacom.h b/4.18/wacom.h
index 792bec1..70d3f81 100644
--- a/4.18/wacom.h
+++ b/4.18/wacom.h
@@ -90,7 +90,7 @@
 #include <linux/usb/input.h>
 #include <linux/power_supply.h>
 #include <linux/timer.h>
-#include <asm/unaligned.h>
+#include <linux/unaligned.h>
 #include <linux/version.h>
 
 /*
diff --git a/4.18/wacom_i2c.c b/4.18/wacom_i2c.c
index 10aebd3..974d2d0 100644
--- a/4.18/wacom_i2c.c
+++ b/4.18/wacom_i2c.c
@@ -14,7 +14,7 @@
 #include <linux/slab.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
-#include <asm/unaligned.h>
+#include <linux/unaligned.h>
 #include <linux/version.h>
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,19,0)