From: Chen Gang Date: Wed, 3 Sep 2014 15:50:31 +0000 (+0800) Subject: drivers/usb/host/ehci-xilinx-of.c: Include "linux/of_irq.h" to avoid compiling error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13d79f223ff369970f3c9b402035125dd3c9cc00;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Michal Simek Signed-off-by: Greg Kroah-Hartman --- 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 #include #include +#include /** * ehci_xilinx_port_handed_over - hand the port out if failed to enable it