phy: mdio-cavium: Add missing MODULE_* annotations.
authorDavid Daney <david.daney@cavium.com>
Tue, 15 Mar 2016 00:30:37 +0000 (17:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2016 23:55:37 +0000 (19:55 -0400)
When the code was factored out of mdio-octeon.c, the
MODULE_DESCRIPTION, MODULE_AUTHOR and MODULE_LICENSE annotations were
inadvertently omitted.  Restore them so that we don't get kernel taint
warnings upon module loading.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-cavium.c

index e796ee121eac07dcd33334ee3eca434d7d76945a..6df2fa755bb431116aacc34c32e22bbef4b95a19 100644 (file)
@@ -147,3 +147,7 @@ int cavium_mdiobus_write(struct mii_bus *bus, int phy_id, int regnum, u16 val)
        return 0;
 }
 EXPORT_SYMBOL(cavium_mdiobus_write);
+
+MODULE_DESCRIPTION("Common code for OCTEON and Thunder MDIO bus drivers");
+MODULE_AUTHOR("David Daney");
+MODULE_LICENSE("GPL");