Re: Fwd: [PATCH] of: Add missing of_address.h to xilinx ehci driver
From: Harry Wei
Date: Mon Feb 14 2011 - 10:57:28 EST
On Mon, Feb 14, 2011 at 11:53:13PM +0800, harryxiyou wrote:
> ---------- Forwarded message ----------
> From: Michal Simek <monstr@xxxxxxxxx>
> Date: 2011/2/14
> Subject: [PATCH] of: Add missing of_address.h to xilinx ehci driver
> To: glikely@xxxxxxxxxxxx
> Cc: devicetree-discuss@xxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx,
> Michal Simek <monstr@xxxxxxxxx>, John Williams <john.williams@xxxxxxxxxxxxx>
>
>
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Michal Simek <monstr@xxxxxxxxx>
Acked-by: Harry Wei <harryxiyou@xxxxxxxxx>
> ---
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
>
> --
> Best Regards.
> Harry Wei.
> Do what u like!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/