You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -61,7 +61,7 @@ struct mii_phy
|
||||
/* Pass in a struct mii_phy with dev, mdio_read and mdio_write
|
||||
* filled, the remaining fields will be filled on return
|
||||
*/
|
||||
extern int mii_phy_probe(struct mii_phy *phy, int mii_id);
|
||||
extern int sungem_phy_probe(struct mii_phy *phy, int mii_id);
|
||||
|
||||
|
||||
/* MII definitions missing from mii.h */
|
||||
|
||||
Reference in New Issue
Block a user