]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
I2C: Fix compile for isp1301
authorTony Lindgren <tony@atomide.com>
Wed, 12 Mar 2008 11:58:41 +0000 (13:58 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 12 Mar 2008 11:58:41 +0000 (13:58 +0200)
As noted by David Brownell. The real fix is to pass info in platform_data
and not have machine_is stuff in the driver.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/isp1301_omap.c

index a128c97e89cb5ec5aa1db1393ec3bca11250bcc6..6ebff9cc337ad4a7346a0e304efd6f1848a4a10d 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/workqueue.h>
 #include <asm/arch/usb.h>
 
+#include <asm/mach-types.h> /* FIXME: Move machine_is_* to board-*.c files */
 
 #ifndef        DEBUG
 #undef VERBOSE