Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: phy: Fix typo for MDIO module boilerplate comment

The module boilerplate macro is named mdio_module_driver and not
module_mdio_driver, fix that.

Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Florian Fainelli and committed by
David S. Miller
b70f43a1 dd8e01fb

+1 -1
+1 -1
include/linux/mdio.h
··· 265 265 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr); 266 266 267 267 /** 268 - * module_mdio_driver() - Helper macro for registering mdio drivers 268 + * mdio_module_driver() - Helper macro for registering mdio drivers 269 269 * 270 270 * Helper macro for MDIO drivers which do not do anything special in module 271 271 * init/exit. Each module may only use this macro once, and calling it