summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-03-02 02:24:51 +0100
committerMarek Vasut <[email protected]>2025-03-11 23:05:57 +0100
commit256306593ecdde5fe01ecc5108d564e76ea8ba65 (patch)
treeb618d2fe1d21850aacf26d92000a7ad1d78f34f8 /include
parent7a13d9a9b7a1abfe0cbe1b2df8592af88322dea1 (diff)
net: miiphybb: Drop bb_miiphy_alloc()/bb_miiphy_free() and struct bb_miiphy_bus
These functions are no longer necessary, remove them. The struct bb_miiphy_bus is no longer necessary either, remove it as well. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Paul Barker <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/miiphy.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/miiphy.h b/include/miiphy.h
index d2678379a1b..dc8ae0caca6 100644
--- a/include/miiphy.h
+++ b/include/miiphy.h
@@ -62,8 +62,6 @@ void mdio_list_devices(void);
#define BB_MII_DEVNAME "bb_miiphy"
-struct bb_miiphy_bus;
-
struct bb_miiphy_bus_ops {
int (*mdio_active)(struct mii_dev *miidev);
int (*mdio_tristate)(struct mii_dev *miidev);
@@ -73,13 +71,6 @@ struct bb_miiphy_bus_ops {
int (*delay)(struct mii_dev *miidev);
};
-struct bb_miiphy_bus {
- struct mii_dev mii;
-};
-
-struct bb_miiphy_bus *bb_miiphy_alloc(void);
-void bb_miiphy_free(struct bb_miiphy_bus *bus);
-
int bb_miiphy_read(struct mii_dev *miidev, const struct bb_miiphy_bus_ops *ops,
int addr, int devad, int reg);
int bb_miiphy_write(struct mii_dev *miidev, const struct bb_miiphy_bus_ops *ops,