diff options
Diffstat (limited to 'include/linux/phy.h')
| -rw-r--r-- | include/linux/phy.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 79f337c47388..c599f7eca1e7 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h | |||
| @@ -129,7 +129,12 @@ struct mii_bus { | |||
| 129 | }; | 129 | }; |
| 130 | #define to_mii_bus(d) container_of(d, struct mii_bus, dev) | 130 | #define to_mii_bus(d) container_of(d, struct mii_bus, dev) |
| 131 | 131 | ||
| 132 | struct mii_bus *mdiobus_alloc(void); | 132 | struct mii_bus *mdiobus_alloc_size(size_t); |
| 133 | static inline struct mii_bus *mdiobus_alloc(void) | ||
| 134 | { | ||
| 135 | return mdiobus_alloc_size(0); | ||
| 136 | } | ||
| 137 | |||
| 133 | int mdiobus_register(struct mii_bus *bus); | 138 | int mdiobus_register(struct mii_bus *bus); |
| 134 | void mdiobus_unregister(struct mii_bus *bus); | 139 | void mdiobus_unregister(struct mii_bus *bus); |
| 135 | void mdiobus_free(struct mii_bus *bus); | 140 | void mdiobus_free(struct mii_bus *bus); |
