[PATCH] of: Add missing of_address.h to xilinx ehci driver

Grant Likely grant.likely at secretlab.ca
Tue Feb 15 00:54:08 EST 2011


On Mon, Feb 14, 2011 at 3:40 AM, Michal Simek <monstr at monstr.eu> wrote:
> 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 at petalogix.com>
> Signed-off-by: Michal Simek <monstr at monstr.eu>

Acked-by: Grant Likely <grant.likely at secretlab.ca>

Greg, let me know if you want me to pick this one up for my next pull req.

g.

> ---
>  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 e8f4f36..a6f21b8 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()
> --
> 1.5.5.6
>
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the devicetree-discuss mailing list