Re: [PATCH][v2] netdev/phy: mdio-mux-mmioreg.c should include of_address.h

2012-09-07 Thread Randy Dunlap
On 09/07/2012 02:30 PM, Timur Tabi wrote:

> mdio-mux-mmioreg.c uses function of_address_to_resource(), which is defined
> in linux/of_address.h.  This fixes a compilation error:
> 
> drivers/net/phy/mdio-mux-mmioreg.c: In function 'mdio_mux_mmioreg_probe':
> drivers/net/phy/mdio-mux-mmioreg.c:83:2: error: implicit declaration of
>   function 'of_address_to_resource'
> 
> Reported-by: Randy Dunlap 
> Signed-off-by: Timur Tabi 
> 


Acked-by: Randy Dunlap 

Thanks.

> ---
>  drivers/net/phy/mdio-mux-mmioreg.c |1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/phy/mdio-mux-mmioreg.c 
> b/drivers/net/phy/mdio-mux-mmioreg.c
> index 098239a..9061ba6 100644
> --- a/drivers/net/phy/mdio-mux-mmioreg.c
> +++ b/drivers/net/phy/mdio-mux-mmioreg.c
> @@ -12,6 +12,7 @@
>  
>  #include 
>  #include 
> +#include 
>  #include 
>  #include 
>  #include 



-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH][v2] netdev/phy: mdio-mux-mmioreg.c should include of_address.h

2012-09-07 Thread David Miller
From: Timur Tabi 
Date: Fri, 7 Sep 2012 16:30:57 -0500

> mdio-mux-mmioreg.c uses function of_address_to_resource(), which is defined
> in linux/of_address.h.  This fixes a compilation error:
> 
> drivers/net/phy/mdio-mux-mmioreg.c: In function 'mdio_mux_mmioreg_probe':
> drivers/net/phy/mdio-mux-mmioreg.c:83:2: error: implicit declaration of
>   function 'of_address_to_resource'
> 
> Reported-by: Randy Dunlap 
> Signed-off-by: Timur Tabi 

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH][v2] netdev/phy: mdio-mux-mmioreg.c should include of_address.h

2012-09-07 Thread David Miller
From: Timur Tabi ti...@freescale.com
Date: Fri, 7 Sep 2012 16:30:57 -0500

 mdio-mux-mmioreg.c uses function of_address_to_resource(), which is defined
 in linux/of_address.h.  This fixes a compilation error:
 
 drivers/net/phy/mdio-mux-mmioreg.c: In function 'mdio_mux_mmioreg_probe':
 drivers/net/phy/mdio-mux-mmioreg.c:83:2: error: implicit declaration of
   function 'of_address_to_resource'
 
 Reported-by: Randy Dunlap rdun...@xenotime.net
 Signed-off-by: Timur Tabi ti...@freescale.com

Applied, thanks.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH][v2] netdev/phy: mdio-mux-mmioreg.c should include of_address.h

2012-09-07 Thread Randy Dunlap
On 09/07/2012 02:30 PM, Timur Tabi wrote:

 mdio-mux-mmioreg.c uses function of_address_to_resource(), which is defined
 in linux/of_address.h.  This fixes a compilation error:
 
 drivers/net/phy/mdio-mux-mmioreg.c: In function 'mdio_mux_mmioreg_probe':
 drivers/net/phy/mdio-mux-mmioreg.c:83:2: error: implicit declaration of
   function 'of_address_to_resource'
 
 Reported-by: Randy Dunlap rdun...@xenotime.net
 Signed-off-by: Timur Tabi ti...@freescale.com
 


Acked-by: Randy Dunlap rdun...@xenotime.net

Thanks.

 ---
  drivers/net/phy/mdio-mux-mmioreg.c |1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
 diff --git a/drivers/net/phy/mdio-mux-mmioreg.c 
 b/drivers/net/phy/mdio-mux-mmioreg.c
 index 098239a..9061ba6 100644
 --- a/drivers/net/phy/mdio-mux-mmioreg.c
 +++ b/drivers/net/phy/mdio-mux-mmioreg.c
 @@ -12,6 +12,7 @@
  
  #include linux/platform_device.h
  #include linux/device.h
 +#include linux/of_address.h
  #include linux/of_mdio.h
  #include linux/module.h
  #include linux/init.h



-- 
~Randy
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/