]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: phy: Fix typo for MDIO module boilerplate comment
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 23 Jan 2017 05:17:32 +0000 (21:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 18:37:50 +0000 (13:37 -0500)
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>
include/linux/mdio.h

index b6587a4b32e7a801eca55bf531247b76c188ccd8..55a80d73cfc18b0bac7820e8d4fe071aee4d07e8 100644 (file)
@@ -265,7 +265,7 @@ bool mdiobus_is_registered_device(struct mii_bus *bus, int addr);
 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr);
 
 /**
- * module_mdio_driver() - Helper macro for registering mdio drivers
+ * mdio_module_driver() - Helper macro for registering mdio drivers
  *
  * Helper macro for MDIO drivers which do not do anything special in module
  * init/exit. Each module may only use this macro once, and calling it