summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-mux-gpio.c
diff options
context:
space:
mode:
authorAndrew Lunn2019-01-21 19:34:53 +0100
committerDavid S. Miller2019-01-23 05:59:18 +0100
commit8bbe833a65209632f96931415070bc3a490f2dc9 (patch)
tree11562e1171d181f12dec6cd55d192fb33170fdf5 /drivers/net/phy/mdio-mux-gpio.c
parentnet: phy: Fixup GPLv2 SPDX tags based on license text (diff)
downloadkernel-qcow2-linux-8bbe833a65209632f96931415070bc3a490f2dc9.tar.gz
kernel-qcow2-linux-8bbe833a65209632f96931415070bc3a490f2dc9.tar.xz
kernel-qcow2-linux-8bbe833a65209632f96931415070bc3a490f2dc9.zip
net: phy: Add SDPX tag based on COPYING file
Some of the PHY and MDIO drivers refer to the COPYING file in the main directory of this archive. This is the main license for Linux, thus GPLv2 plus syscall extension. Fixup the MODULE_LICENSE() where needed and add an SDPX header for GPLv2. Cc: David Daney <david.daney@cavium.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-mux-gpio.c')
-rw-r--r--drivers/net/phy/mdio-mux-gpio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/phy/mdio-mux-gpio.c b/drivers/net/phy/mdio-mux-gpio.c
index fe34576262bd..6c8960df43b0 100644
--- a/drivers/net/phy/mdio-mux-gpio.c
+++ b/drivers/net/phy/mdio-mux-gpio.c
@@ -1,8 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
* Copyright (C) 2011, 2012 Cavium, Inc.
*/
@@ -103,4 +100,4 @@ module_platform_driver(mdio_mux_gpio_driver);
MODULE_DESCRIPTION(DRV_DESCRIPTION);
MODULE_VERSION(DRV_VERSION);
MODULE_AUTHOR("David Daney");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");