diff options
author | David S. Miller <davem@davemloft.net> | 2011-08-16 02:10:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-16 03:16:49 -0400 |
commit | 19e2f6fe9601ca5c846b7163e6d6d00f87b34760 (patch) | |
tree | 4c13d42b3aa0f8415f72bb075ac89841667a6cd9 /include/linux/sungem_phy.h | |
parent | ef37d38a1fe78ba627b8178af02df31e59b18896 (diff) |
net: Fix sungem_phy sharing.
Since sungem_phy is used by multiple, unrelated, drivers make it
build as a real module under drivers/net.
depmod will pick up the symbol dependency and make sure sungem_phy.ko
gets loaded any time sungem.ko or spider_net.ko is loaded.
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sungem_phy.h')
-rw-r--r-- | include/linux/sungem_phy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sungem_phy.h b/include/linux/sungem_phy.h index af02f9479cbb..bd9be9f59d3a 100644 --- a/include/linux/sungem_phy.h +++ b/include/linux/sungem_phy.h | |||
@@ -61,7 +61,7 @@ struct mii_phy | |||
61 | /* Pass in a struct mii_phy with dev, mdio_read and mdio_write | 61 | /* Pass in a struct mii_phy with dev, mdio_read and mdio_write |
62 | * filled, the remaining fields will be filled on return | 62 | * filled, the remaining fields will be filled on return |
63 | */ | 63 | */ |
64 | extern int mii_phy_probe(struct mii_phy *phy, int mii_id); | 64 | extern int sungem_phy_probe(struct mii_phy *phy, int mii_id); |
65 | 65 | ||
66 | 66 | ||
67 | /* MII definitions missing from mii.h */ | 67 | /* MII definitions missing from mii.h */ |