summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2025-06-10 09:03:43 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-13 04:12:37 +0300
commitb1b36680107ede3a4ec7fa41d052971606d6b325 (patch)
treea0b204acd5beb8acf57761d043fbb162fd41392c /rust/helpers/build_bug.c
parent8f9fee2595c6f4220d6b628b69f82acf67447400 (diff)
downloadlinux-b1b36680107ede3a4ec7fa41d052971606d6b325.tar.xz
net: phy: assign default match function for non-PHY MDIO devices
Make mdio_device_bus_match() the default match function for non-PHY MDIO devices. Benefit is that we don't have to export this function any longer. As long as mdiodev->modalias isn't set, there's no change in behavior. mdiobus_create_device() is the only place where mdiodev->modalias gets set, but this function sets mdio_device_bus_match() as match function anyway. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://patch.msgid.link/6c94e3d3-bfb0-4ddc-a518-6fddbc64e1d0@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions