linux-omap 2.6.32: mach to plat change for ehci-omap.c
authorRobert Nelson <robert.nelson@digikey.com>
Thu, 3 Dec 2009 21:09:00 +0000 (15:09 -0600)
committerKoen Kooi <koen@openembedded.org>
Fri, 4 Dec 2009 08:26:03 +0000 (09:26 +0100)
drivers/usb/host/ehci-omap.c:40:22: error: mach/usb.h: No such file or directory

recipes/linux/linux-omap-2.6.32/usb/ehci-omap.c-mach-to-plat.diff [new file with mode: 0644]
recipes/linux/linux-omap_2.6.32.bb

diff --git a/recipes/linux/linux-omap-2.6.32/usb/ehci-omap.c-mach-to-plat.diff b/recipes/linux/linux-omap-2.6.32/usb/ehci-omap.c-mach-to-plat.diff
new file mode 100644 (file)
index 0000000..faa1ae0
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/drivers/usb/host/ehci-omap.c 
++++ b/drivers/usb/host/ehci-omap.c 
+@@ -37,7 +37,7 @@
+ #include <linux/platform_device.h>
+ #include <linux/clk.h>
+ #include <linux/gpio.h>
+-#include <mach/usb.h>
++#include <plat/usb.h>
+ /*
+  * OMAP USBHOST Register addresses: VIRTUAL ADDRESSES
+
index d9f2688..8da1053 100644 (file)
@@ -20,6 +20,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.g
 
 SRC_URI_append = " \
 file://usb/ehci.patch;patch=1 \
+file://usb/ehci-omap.c-mach-to-plat.diff;patch=1 \
 "
 
 SRC_URI_append_beagleboard = " file://logo_linux_clut224.ppm \