stmmac: fix missing module license in the main.
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>
Fri, 23 Dec 2011 19:21:20 +0000 (14:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Dec 2011 19:21:20 +0000 (14:21 -0500)
This patch fixes the following warning raised
when compile:

WARNING: modpost: missing MODULE_LICENSE()
in drivers/net/ethernet/stmicro/stmmac/stmmac.o

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

index b314592b5eea6d4fb1b78df3733ef5af3582ecce..3738b47005489ef35afe054e868a7868a5d1c9b5 100644 (file)
@@ -2039,3 +2039,7 @@ err:
 
 __setup("stmmaceth=", stmmac_cmdline_opt);
 #endif
+
+MODULE_DESCRIPTION("STMMAC 10/100/1000 Ethernet device driver");
+MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>");
+MODULE_LICENSE("GPL");