Home Home > GIT Browse
summaryrefslogtreecommitdiff
authorJeff Mahoney <jeffm@suse.com>2012-05-02 14:40:55 (GMT)
committer Jeff Mahoney <jeffm@suse.com>2012-05-02 14:51:36 (GMT)
commit4d1394acf06bc03f70528b7f3b01a351dc50ec18 (patch) (side-by-side diff)
treeca78ade1ce2dc3384ef985dc6980f8c8ae0c00e0
parent3cd703ff254e4e98c7ea502ca0535ce1536a9fa1 (diff)
omap-usb-host: include <plat/cpu.h>.
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--patches.fixes/omap-usb-host-include-plat-cpu-h23
-rw-r--r--series.conf1
2 files changed, 24 insertions, 0 deletions
diff --git a/patches.fixes/omap-usb-host-include-plat-cpu-h b/patches.fixes/omap-usb-host-include-plat-cpu-h
new file mode 100644
index 0000000..102f8bb
--- a/dev/null
+++ b/patches.fixes/omap-usb-host-include-plat-cpu-h
@@ -0,0 +1,23 @@
+From: Jeff Mahoney <jeffm@suse.com>
+Subject: omap-usb-host: include <plat/cpu.h>
+Patch-mainline: Submitted 2 May 2012
+
+omap-usb-host calls cpu_is_omap3430, which is defined in plat/cpu.h.
+
+Reported-by: Guillaume GARDET <guillaume.gardet@opensuse.org>
+Signed-off-by: Jeff Mahoney <jeffm@suse.com>
+---
+ drivers/mfd/omap-usb-host.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/mfd/omap-usb-host.c
++++ b/drivers/mfd/omap-usb-host.c
+@@ -26,6 +26,7 @@
+ #include <linux/dma-mapping.h>
+ #include <linux/spinlock.h>
+ #include <plat/usb.h>
++#include <plat/cpu.h>
+ #include <linux/pm_runtime.h>
+
+ #define USBHS_DRIVER_NAME "usbhs_omap"
+
diff --git a/series.conf b/series.conf
index d61cc88..9987f47 100644
--- a/series.conf
+++ b/series.conf
@@ -152,6 +152,7 @@
# ARM
########################################################
patches.arch/arm-phys-offset.patch
+ patches.fixes/omap-usb-host-include-plat-cpu-h
########################################################
# S/390