summaryrefslogtreecommitdiff
path: root/recipes/linux
diff options
context:
space:
mode:
authorRobert Nelson <robert.nelson@digikey.com>2009-12-03 15:09:00 -0600
committerKoen Kooi <koen@openembedded.org>2009-12-04 09:26:03 +0100
commit8435956a8f5006238a7a41e5e9ea5d04c0731285 (patch)
tree3429f1359627536ad98e86dec579227c2266d8be /recipes/linux
parent9c7c5ce8882074b75d7942d9d82164cfd4fd49ef (diff)
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
Diffstat (limited to 'recipes/linux')
-rw-r--r--recipes/linux/linux-omap-2.6.32/usb/ehci-omap.c-mach-to-plat.diff12
-rw-r--r--recipes/linux/linux-omap_2.6.32.bb1
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 0000000000..faa1ae025c
--- /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 d9f2688732..8da10530c7 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 \