summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/bcm-phy-lib.c
diff options
context:
space:
mode:
authorArun Parameswaran <arunp@broadcom.com>2015-10-15 19:37:13 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-19 04:35:10 +0200
commitb89eb1fcf2d4c068f088c39100f5e3067d8cccc9 (patch)
treec52ea154010c0a92610ba56f547f37ee8450c40c /drivers/net/phy/bcm-phy-lib.c
parentipconfig: send Client-identifier in DHCP requests (diff)
downloadlinux-b89eb1fcf2d4c068f088c39100f5e3067d8cccc9.tar.xz
linux-b89eb1fcf2d4c068f088c39100f5e3067d8cccc9.zip
net: phy: bcm-phy-lib: Fix module license issue
The 'bcm-phy-lib.c', added as a part of the commit "net: phy: Add Broadcom phy library for common interfaces" was missing the module license. This was causing an issue when the library is built as a module; "module license 'unspecified' taints kernel". This patch fixes the issue by adding the module license, author and description to the bcm-phy-lib.c file. Fixes: a1cba5613edf5 ("net: phy: Add Broadcom phy library for common interfaces") Signed-off-by: Arun Parameswaran <arunp@broadcom.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/phy/bcm-phy-lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/phy/bcm-phy-lib.c b/drivers/net/phy/bcm-phy-lib.c
index dd79ea6ba023..ddb377e53633 100644
--- a/drivers/net/phy/bcm-phy-lib.c
+++ b/drivers/net/phy/bcm-phy-lib.c
@@ -15,6 +15,7 @@
#include <linux/brcmphy.h>
#include <linux/export.h>
#include <linux/mdio.h>
+#include <linux/module.h>
#include <linux/phy.h>
#define MII_BCM_CHANNEL_WIDTH 0x2000
@@ -206,3 +207,7 @@ int bcm_phy_enable_eee(struct phy_device *phydev)
return 0;
}
EXPORT_SYMBOL_GPL(bcm_phy_enable_eee);
+
+MODULE_DESCRIPTION("Broadcom PHY Library");
+MODULE_LICENSE("GPL v2");
+MODULE_AUTHOR("Broadcom Corporation");