aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-07-07 10:51:45 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-07-11 01:20:34 -0400
commite9911c2c8f87cfda47109c42e399fa487117095c (patch)
tree7cc27db92d84a2a4fcab0c07bcc95372917f10ff /drivers/net/phy
parent9439f749441f3a7c2c8ef9e32b698cfe9ed60f48 (diff)
Fix missing exports for net/phy/mdio-bitbang.c
{alloc,free}_mdio_bitbang() are not exported while they are used in mdio-ofgpio driver. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/mdio-bitbang.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio-bitbang.c b/drivers/net/phy/mdio-bitbang.c
index 2747b1f89ffe..c01b78013ddc 100644
--- a/drivers/net/phy/mdio-bitbang.c
+++ b/drivers/net/phy/mdio-bitbang.c
@@ -177,6 +177,7 @@ struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl)
177 177
178 return bus; 178 return bus;
179} 179}
180EXPORT_SYMBOL(alloc_mdio_bitbang);
180 181
181void free_mdio_bitbang(struct mii_bus *bus) 182void free_mdio_bitbang(struct mii_bus *bus)
182{ 183{
@@ -185,5 +186,6 @@ void free_mdio_bitbang(struct mii_bus *bus)
185 module_put(ctrl->ops->owner); 186 module_put(ctrl->ops->owner);
186 kfree(bus); 187 kfree(bus);
187} 188}
189EXPORT_SYMBOL(free_mdio_bitbang);
188 190
189MODULE_LICENSE("GPL"); 191MODULE_LICENSE("GPL");