summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJie Deng <Jie.Deng1@synopsys.com>2017-03-23 12:03:46 +0800
committerDavid S. Miller <davem@davemloft.net>2017-03-23 17:04:14 -0700
commit67ff2c71bbf21fae0f63b367f252653c4abc3b12 (patch)
tree4b09087f3eeb0d85dbcb1dec5a9bbc7392e44123
parentea8c1c642ea501ccdbc31abaff8e624585e43711 (diff)
net: dwc-xlgmac: use dual license
The driver "dwc-xlgmac" is dual-licensed. Declare the dual license with MODULE_LICENSE(). Signed-off-by: Jie Deng <jiedeng@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/synopsys/dwc-xlgmac-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c b/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c
index cb1192815f01..07def2beabfa 100644
--- a/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c
+++ b/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c
@@ -21,9 +21,10 @@
#include "dwc-xlgmac.h"
#include "dwc-xlgmac-reg.h"
+MODULE_LICENSE("Dual BSD/GPL");
+
static int debug = -1;
module_param(debug, int, 0644);
-MODULE_LICENSE("GPL");
MODULE_PARM_DESC(debug, "DWC ethernet debug level (0=none,...,16=all)");
static const u32 default_msg_level = (NETIF_MSG_LINK | NETIF_MSG_IFDOWN |
NETIF_MSG_IFUP);