summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2012-11-02 10:13:24 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-02 09:24:15 -0700
commitd1bb67a7a2a5a5ff49b0ef4d191725769243e639 (patch)
tree8f0d3b3535fd41c2ca37619c6ad46367b684b00a /drivers/usb
parent99f91934a907df31ba878dfdd090002049dc476a (diff)
USB: EHCI: fix build error in ehci-platform.c under PowerPC
This patch (as1628) fixes a build error in the ehci-platform driver when compiled for the PowerPC architecture. The error was introduced by commit 99f91934a907df31ba878dfdd090002049dc476a (USB: EHCI: make ehci-platform a separate driver). The fix is simple; a few additional header-file #includes are needed. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index f97fe3a4d81..feeedf84011 100644
--- a/drivers/usb/host/ehci-platform.c
+++ b/drivers/usb/host/ehci-platform.c
@@ -19,6 +19,8 @@
* Licensed under the GNU/GPL. See COPYING for details.
*/
#include <linux/kernel.h>
+#include <linux/hrtimer.h>
+#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/usb.h>