diff options
author | Alex Chiang <achiang@hp.com> | 2009-05-26 20:50:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-26 20:50:12 -0700 |
commit | 5ad18900355743757e7f415bcb850ea8406a13e2 (patch) | |
tree | 81cfc6cb21f493351d346dc21a79dea7b974d641 /drivers/net/bfin_mac.c | |
parent | 18a36c1a398055e87a3646738abf3c1b0e98e7e2 (diff) | |
download | linux-3.10-5ad18900355743757e7f415bcb850ea8406a13e2.tar.gz linux-3.10-5ad18900355743757e7f415bcb850ea8406a13e2.tar.bz2 linux-3.10-5ad18900355743757e7f415bcb850ea8406a13e2.zip |
atlx: move modinfo data from atlx.h to atl1.c
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 <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>
version: 2.1.3
author: Xiong Huang <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>, Jay Cliburn <jcliburn@gmail.com>
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 <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>, Jay Cliburn <jcliburn@gmail.com>
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 <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>
Reported-by: Scott Scriven <scott.scriven@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Acked-by: Jay Cliburn <jcliburn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bfin_mac.c')
0 files changed, 0 insertions, 0 deletions