public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH net-2.6] phylib: do EXPORT_SYMBOL on get_phy_id
@ 2008-05-22 16:43 Paul Gortmaker
  2008-05-22 18:01 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2008-05-22 16:43 UTC (permalink / raw)
  To: netdev; +Cc: davej, afleming, jgarzik, Paul Gortmaker

Commit cac1f3c8 factored out the code for get_phy_id so that it
could be reused in multiple places.  Turns out that some of the
users can be modular, so we need to export this symbol as well.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver•com>
---
 drivers/net/phy/phy_device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index ac3c01d..16a0e7d 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -207,6 +207,7 @@ int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)
 
 	return 0;
 }
+EXPORT_SYMBOL(get_phy_id);
 
 /**
  * get_phy_device - reads the specified PHY device and returns its @phy_device struct
-- 
1.5.4.rc4.gcab31


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-2.6] phylib: do EXPORT_SYMBOL on get_phy_id
  2008-05-22 16:43 [PATCH net-2.6] phylib: do EXPORT_SYMBOL on get_phy_id Paul Gortmaker
@ 2008-05-22 18:01 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-05-22 18:01 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: netdev, davej, afleming

Paul Gortmaker wrote:
> Commit cac1f3c8 factored out the code for get_phy_id so that it
> could be reused in multiple places.  Turns out that some of the
> users can be modular, so we need to export this symbol as well.
> 
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver•com>
> ---
>  drivers/net/phy/phy_device.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
> index ac3c01d..16a0e7d 100644
> --- a/drivers/net/phy/phy_device.c
> +++ b/drivers/net/phy/phy_device.c
> @@ -207,6 +207,7 @@ int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id)
>  
>  	return 0;
>  }
> +EXPORT_SYMBOL(get_phy_id);

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-22 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 16:43 [PATCH net-2.6] phylib: do EXPORT_SYMBOL on get_phy_id Paul Gortmaker
2008-05-22 18:01 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox