]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: ethernet: fs_enet: Add missing MODULE_LICENSE
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Jan 2021 09:15:15 +0000 (20:15 +1100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jan 2021 00:56:35 +0000 (16:56 -0800)
Since commit 1d6cd3929360 ("modpost: turn missing MODULE_LICENSE()
into error") the ppc32_allmodconfig build fails with:

  ERROR: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/freescale/fs_enet/mii-fec.o
  ERROR: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/freescale/fs_enet/mii-bitbang.o

Add the missing MODULE_LICENSEs to fix the build. Both files include a
copyright header indicating they are GPL v2.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c
drivers/net/ethernet/freescale/fs_enet/mii-fec.c

index c8e5d889bd81fb73c1289975ddf0d5686d236162..21de56345503f6cc82763cb42d3518f09b4fe639 100644 (file)
@@ -223,3 +223,4 @@ static struct platform_driver fs_enet_bb_mdio_driver = {
 };
 
 module_platform_driver(fs_enet_bb_mdio_driver);
+MODULE_LICENSE("GPL");
index 8b51ee142fa3c3c113231a42b81dc2ad488726a0..152f4d83765aad7df1d9eefa2fbbce1b34d9a005 100644 (file)
@@ -224,3 +224,4 @@ static struct platform_driver fs_enet_fec_mdio_driver = {
 };
 
 module_platform_driver(fs_enet_fec_mdio_driver);
+MODULE_LICENSE("GPL");