Skip to content

Commit

Permalink
net: ethernet: fs_enet: Add missing MODULE_LICENSE
Browse files Browse the repository at this point in the history
Since commit 1d6cd39 ("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>
  • Loading branch information
Michael Ellerman authored and David S. Miller committed Jan 6, 2021
1 parent 4beb17e commit 445c619
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c
Original file line number Diff line number Diff line change
@@ -223,3 +223,4 @@ static struct platform_driver fs_enet_bb_mdio_driver = {
};

module_platform_driver(fs_enet_bb_mdio_driver);
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions drivers/net/ethernet/freescale/fs_enet/mii-fec.c
Original file line number Diff line number Diff line change
@@ -224,3 +224,4 @@ static struct platform_driver fs_enet_fec_mdio_driver = {
};

module_platform_driver(fs_enet_fec_mdio_driver);
MODULE_LICENSE("GPL");

0 comments on commit 445c619

Please sign in to comment.