mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
net: phy: Remove probe_capabilities
Deciding if to probe of PHYs using C45 is now determine by if the bus provides the C45 read method. This makes probe_capabilities redundant so remove it. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Acked-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
@@ -419,14 +419,6 @@ struct mii_bus {
|
||||
/** @reset_gpiod: Reset GPIO descriptor pointer */
|
||||
struct gpio_desc *reset_gpiod;
|
||||
|
||||
/** @probe_capabilities: bus capabilities, used for probing */
|
||||
enum {
|
||||
MDIOBUS_NO_CAP = 0,
|
||||
MDIOBUS_C22,
|
||||
MDIOBUS_C45,
|
||||
MDIOBUS_C22_C45,
|
||||
} probe_capabilities;
|
||||
|
||||
/** @shared_lock: protect access to the shared element */
|
||||
struct mutex shared_lock;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user