Patchwork fsl_pq_mdio: Fix compile failure

login
register
mail settings
Submitter Kumar Gala
Date April 2, 2009, 1:45 p.m.
Message ID <1238679923-4370-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/25525/
State Accepted
Delegated to: David Miller
Headers show

Comments

Kumar Gala - April 2, 2009, 1:45 p.m.
From: Segher Boessenkool <segher@kernel.crashing.org>

Add EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name) for module builds

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---

Dave, 

I think this got lost in a thread on the ppc list.

- k

 drivers/net/fsl_pq_mdio.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
David Miller - April 2, 2009, 8:57 p.m.
From: Kumar Gala <galak@kernel.crashing.org>
Date: Thu,  2 Apr 2009 08:45:23 -0500

> From: Segher Boessenkool <segher@kernel.crashing.org>
> 
> Add EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name) for module builds
> 
> Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/fsl_pq_mdio.c b/drivers/net/fsl_pq_mdio.c
index d9e1ecf..aa1eb88 100644
--- a/drivers/net/fsl_pq_mdio.c
+++ b/drivers/net/fsl_pq_mdio.c
@@ -204,6 +204,7 @@  void fsl_pq_mdio_bus_name(char *name, struct device_node *np)
 	snprintf(name, MII_BUS_ID_SIZE, "%s@%llx", np->name,
 		(unsigned long long)taddr);
 }
+EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name);
 
 /* Scan the bus in reverse, looking for an empty spot */
 static int fsl_pq_mdio_find_free(struct mii_bus *new_bus)