summaryrefslogtreecommitdiff
path: root/recipes/pxaregs/pxaregs-1.14/i2c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pxaregs/pxaregs-1.14/i2c.patch')
-rw-r--r--recipes/pxaregs/pxaregs-1.14/i2c.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/pxaregs/pxaregs-1.14/i2c.patch b/recipes/pxaregs/pxaregs-1.14/i2c.patch
new file mode 100644
index 0000000000..36983ec479
--- /dev/null
+++ b/recipes/pxaregs/pxaregs-1.14/i2c.patch
@@ -0,0 +1,15 @@
+Index: pxaregs-1.14/pxaregs.c
+===================================================================
+--- pxaregs-1.14.orig/pxaregs.c
++++ pxaregs-1.14/pxaregs.c
+@@ -21,10 +21,6 @@
+ #include <fcntl.h>
+ #include <ctype.h>
+
+-#include <linux/i2c.h>
+-#include <linux/i2c-dev.h>
+-
+-
+ // fd for /dev/mem
+ static int fd = -1;
+