summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-xilinx-of.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-02-14 11:40:09 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-03-02 21:45:18 +0100
commit337fc720d85b98a71b1ff6e3a5449a24a7c33cfe (patch)
tree19e145665b8ed4d2da67cb4f076b33f1d059db0c /drivers/usb/host/ehci-xilinx-of.c
parentLinux 2.6.38-rc7 (diff)
downloadlinux-337fc720d85b98a71b1ff6e3a5449a24a7c33cfe.tar.xz
linux-337fc720d85b98a71b1ff6e3a5449a24a7c33cfe.zip
of: Add missing of_address.h to xilinx ehci driver
Build log: In file included from drivers/usb/host/ehci-hcd.c:1208: drivers/usb/host/ehci-xilinx-of.c: In function 'ehci_hcd_xilinx_of_probe': drivers/usb/host/ehci-xilinx-of.c:168: error: implicit declaration of function 'of_address_to_resource' Signed-off-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/usb/host/ehci-xilinx-of.c')
-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 e8f4f36fdf0b..a6f21b891f68 100644
--- a/drivers/usb/host/ehci-xilinx-of.c
+++ b/drivers/usb/host/ehci-xilinx-of.c
@@ -29,6 +29,7 @@
#include <linux/of.h>
#include <linux/of_platform.h>
+#include <linux/of_address.h>
/**
* ehci_xilinx_of_setup - Initialize the device for ehci_reset()