Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1246131
| From | Arun Parameswaran <arunp@broadcom.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue |
| Date | 2015-10-13 22:50 +0200 |
| Message-ID | <qjeGe-Xw-21@gated-at.bofh.it> (permalink) |
| References | <qjeGe-Xw-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/net/phy/bcm-phy-lib.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/phy/bcm-phy-lib.c b/drivers/net/phy/bcm-phy-lib.c
index 13e161e..ddb377e 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
@@ -207,3 +208,6 @@ int bcm_phy_enable_eee(struct phy_device *phydev)
}
EXPORT_SYMBOL_GPL(bcm_phy_enable_eee);
+MODULE_DESCRIPTION("Broadcom PHY Library");
+MODULE_LICENSE("GPL v2");
+MODULE_AUTHOR("Broadcom Corporation");
--
2.6.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/1] Fix for module license in Broadcom Phy Library Arun Parameswaran <arunp@broadcom.com> - 2015-10-13 22:50 +0200
[PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue Arun Parameswaran <arunp@broadcom.com> - 2015-10-13 22:50 +0200
Re: [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue David Miller <davem@davemloft.net> - 2015-10-15 03:30 +0200
Re: [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue Arun Parameswaran <aparames@broadcom.com> - 2015-10-15 19:20 +0200
csiph-web