summaryrefslogtreecommitdiff
path: root/recipes/linux/gumstix-kernel-2.6.21/bugfix-i2c-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/gumstix-kernel-2.6.21/bugfix-i2c-include.patch')
-rw-r--r--recipes/linux/gumstix-kernel-2.6.21/bugfix-i2c-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/linux/gumstix-kernel-2.6.21/bugfix-i2c-include.patch b/recipes/linux/gumstix-kernel-2.6.21/bugfix-i2c-include.patch
new file mode 100644
index 0000000000..cb0036929a
--- /dev/null
+++ b/recipes/linux/gumstix-kernel-2.6.21/bugfix-i2c-include.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.21gum/drivers/i2c/busses/i2c-pxa.c
+===================================================================
+--- linux-2.6.21gum.orig/drivers/i2c/busses/i2c-pxa.c
++++ linux-2.6.21gum/drivers/i2c/busses/i2c-pxa.c
+@@ -32,6 +32,7 @@
+ #include <linux/i2c-pxa.h>
+ #include <linux/platform_device.h>
+
++#include <asm/arch/pxa-regs.h>
+ #include <asm/hardware.h>
+ #include <asm/irq.h>
+ #include <asm/io.h>