[oe-commits] Robert Nelson : linux-omap 2.6.32: mach to plat change for ehci-omap.c

git version control git at git.openembedded.org
Fri Dec 4 08:51:52 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 8435956a8f5006238a7a41e5e9ea5d04c0731285
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8435956a8f5006238a7a41e5e9ea5d04c0731285

Author: Robert Nelson <robert.nelson at digikey.com>
Date:   Thu Dec  3 15:09:00 2009 -0600

linux-omap 2.6.32: mach to plat change for ehci-omap.c

drivers/usb/host/ehci-omap.c:40:22: error: mach/usb.h: No such file or directory

---

 .../usb/ehci-omap.c-mach-to-plat.diff              |   12 ++++++++++++
 recipes/linux/linux-omap_2.6.32.bb                 |    1 +
 2 files changed, 13 insertions(+), 0 deletions(-)

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
index 0000000..faa1ae0
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.32/usb/ehci-omap.c-mach-to-plat.diff
@@ -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
+
diff --git a/recipes/linux/linux-omap_2.6.32.bb b/recipes/linux/linux-omap_2.6.32.bb
index d9f2688..8da1053 100644
--- a/recipes/linux/linux-omap_2.6.32.bb
+++ b/recipes/linux/linux-omap_2.6.32.bb
@@ -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 \





More information about the Openembedded-commits mailing list