openwrtv4/target/linux/pxa/patches-2.6.21/020-bugfix-i2c-include.patch
Imre Kaloz 261802269d incomplete Gumstix support
SVN-Revision: 10955
2008-04-27 16:56:19 +00:00

12 lines
409 B
Diff

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>