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 <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
mpe authored and davem330 committed Jan 6, 2021
1 parent 4beb17e commit 445c619
Show file tree
Hide file tree
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
Expand Up @@ -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
Expand Up @@ -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.