Fix missing exports for net/phy/mdio-bitbang.c
Subsystems (3)
PATCH 1/1 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 <[email protected]>
---
drivers/net/phy/mdio-bitbang.c +2 -0
@@ -177,6 +177,7 @@ struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl)return bus; } +EXPORT_SYMBOL (alloc_mdio_bitbang);void free_mdio_bitbang (struct mii_bus *bus) {
@@ -185,5 +186,6 @@ void free_mdio_bitbang(struct mii_bus *bus)module_put (ctrl->ops->owner);kfree (bus); } +EXPORT_SYMBOL (free_mdio_bitbang);MODULE_LICENSE ("GPL" );
Jeff Garzik
AppliedQuoted 19 lines · Takashi Iwai
{alloc,free}_mdio_bitbang() are not exported while they are used in mdio-ofgpio driver.
Signed-off-by Takashi Iwai <[email protected]>---
drivers/net/phy/mdio-bitbang.c +1
-0@@ -177,6 +177,7 @@ struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl)return bus; } +EXPORT_SYMBOL (alloc_mdio_bitbang);void free_mdio_bitbang (struct mii_bus *bus) {
drivers/net/phy/mdio-bitbang.c void free_mdio_bitbang(struct mii_bus *bus) · line 191
Quoted 6 lines
drivers/net/phy/mdio-bitbang.c +1
-0@@ -185,5 +186,6 @@ void free_mdio_bitbang(struct mii_bus *bus)module_put (ctrl->ops->owner);kfree (bus); } +EXPORT_SYMBOL (free_mdio_bitbang);MODULE_LICENSE ("GPL" );
applied