diff options
author | Chen Gang | 2014-09-03 17:50:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-09-24 07:09:46 +0200 |
commit | 13d79f223ff369970f3c9b402035125dd3c9cc00 (patch) | |
tree | fa8f0277a90d7853009cc2f4625c614a03268517 /drivers/usb/host | |
parent | usb: wusbcore: fix device disconnect on rekey timeout (diff) | |
download | kernel-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.c | 1 |
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 |