summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorChen Gang2014-09-03 17:50:31 +0200
committerGreg Kroah-Hartman2014-09-24 07:09:46 +0200
commit13d79f223ff369970f3c9b402035125dd3c9cc00 (patch)
treefa8f0277a90d7853009cc2f4625c614a03268517 /drivers/usb/host
parentusb: wusbcore: fix device disconnect on rekey timeout (diff)
downloadkernel-qcow2-linux-13d79f223ff369970f3c9b402035125dd3c9cc00.tar.gz
kernel-qcow2-linux-13d79f223ff369970f3c9b402035125dd3c9cc00.tar.xz
kernel-qcow2-linux-13d79f223ff369970f3c9b402035125dd3c9cc00.zip
drivers/usb/host/ehci-xilinx-of.c: Include "linux/of_irq.h" to avoid compiling error
Need include it for irq_of_parse_and_map(), the related error with allmodconfig under microblaze: drivers/usb/host/ehci-xilinx-of.c: In function ‘ehci_hcd_xilinx_of_probe’: drivers/usb/host/ehci-xilinx-of.c:156:2: error: implicit declaration of function ‘irq_of_parse_and_map’ [-Werror=implicit-function-declaration] irq = irq_of_parse_and_map(dn, 0); ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Acked-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-xilinx-of.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-xilinx-of.c b/drivers/usb/host/ehci-xilinx-of.c
index fe57710753e8..a2328361dc80 100644
--- a/drivers/usb/host/ehci-xilinx-of.c
+++ b/drivers/usb/host/ehci-xilinx-of.c
@@ -31,6 +31,7 @@
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_address.h>
+#include <linux/of_irq.h>
/**
* ehci_xilinx_port_handed_over - hand the port out if failed to enable it