mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
Both atl1.c and atl2.c include atlx.h, which defines some modinfo stuff. But atl2.c seems like it doesn't want the modinfo data from atlx.h, as it defines its own. Running modinfo on atl2.ko, we get conflicting information: $ /sbin/modinfo drivers/net/atlx/atl2.ko | egrep "version|description|author" version: 2.2.3 description: Atheros Fast Ethernet Network Driver author: Atheros Corporation <[email protected]>, Chris Snook <[email protected]> version: 2.1.3 author: Xiong Huang <[email protected]>, Chris Snook <[email protected]>, Jay Cliburn <[email protected]> Move the modinfo data out of atlx.h and into atl1.c to eliminate the confusion: $ /sbin/modinfo drivers/net/atlx/atl1.ko | egrep "version|description|author" version: 2.1.3 author: Xiong Huang <[email protected]>, Chris Snook <[email protected]>, Jay Cliburn <[email protected]> description: Atheros L1 Gigabit Ethernet Driver $ /sbin/modinfo drivers/net/atlx/atl2.ko | egrep "version|description|author" version: 2.2.3 description: Atheros Fast Ethernet Network Driver author: Atheros Corporation <[email protected]>, Chris Snook <[email protected]> Reported-by: Scott Scriven <[email protected]> Signed-off-by: Alex Chiang <[email protected]> Acked-by: Jay Cliburn <[email protected]> Signed-off-by: David S. Miller <[email protected]>