summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2026-02-03 12:46:57 +0100
committerPaolo Abeni <pabeni@redhat.com>2026-02-03 12:46:57 +0100
commit4906859dff656f52c8953c0a91a607b97877bbc4 (patch)
tree6042f1abe8469b1033a0be7c83177a331a11c88f /include/linux
parentfae1c659d7bd5640012be21b5b5d6490b83c0df8 (diff)
parent3051419f3d1a8f694e3eaec3d54153bc243231a9 (diff)
Merge branch 'net-phy-remove-modalias-based-mdio-device-bus-matching'
Heiner Kallweit says: ==================== net: phy: remove modalias-based MDIO device bus matching modalias-based MDIO device bus matching has only one user (dsa-loop), where we can replace modalias-based matching with a simple custom match function. This, and first patch of the series, lay the foundation for removing modalias-based matching. ==================== Link: https://patch.msgid.link/d9543e7d-23e1-4dba-a6b3-35dcd6a35dec@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mdio.h1
-rw-r--r--include/linux/mod_devicetable.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index 42d6d47e445b..7ad7ce48f531 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -29,7 +29,6 @@ struct mdio_device {
struct device dev;
struct mii_bus *bus;
- char modalias[MDIO_NAME_SIZE];
int (*bus_match)(struct device *dev, const struct device_driver *drv);
void (*device_free)(struct mdio_device *mdiodev);
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 24eb5a88a5c5..5b1725fe9707 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -609,7 +609,6 @@ struct platform_device_id {
kernel_ulong_t driver_data;
};
-#define MDIO_NAME_SIZE 32
#define MDIO_MODULE_PREFIX "mdio:"
#define MDIO_ID_FMT "%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u%u"