Skip to content

Commit 4c0c46b

Browse files
arndbdavem330
authored andcommitted
net: hip04: add missing MODULE_LICENSE
The hip04 ethernet driver causes a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/hisilicon/hip04_eth.o see include/linux/module.h for more information This adds the license as "GPL", which matches the header of the file. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Ding Tianhong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 843c2fd commit 4c0c46b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/hisilicon/hip04_eth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,3 +968,4 @@ static struct platform_driver hip04_mac_driver = {
968968
module_platform_driver(hip04_mac_driver);
969969

970970
MODULE_DESCRIPTION("HISILICON P04 Ethernet driver");
971+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)