summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-03-25 00:16:02 +0100
committerDavid S. Miller <davem@davemloft.net>2011-03-25 00:16:02 +0100
commitf7594d42944c0dfca90318f50978a4bdf8504086 (patch)
tree505e3e40641d88ef20c82f70939e50eace4dccde /net
parentipv4: fix fib metrics (diff)
downloadlinux-f7594d42944c0dfca90318f50978a4bdf8504086.tar.xz
linux-f7594d42944c0dfca90318f50978a4bdf8504086.zip
net: fix pch_gbe section mismatch warning
Fix section mismatch warning by renaming the pci_driver variable to a recognized (whitelisted) name. WARNING: drivers/net/pch_gbe/pch_gbe.o(.data+0x1f8): Section mismatch in reference from the variable pch_gbe_pcidev to the variable .devinit.rodata:pch_gbe_pcidev_id The variable pch_gbe_pcidev references the variable __devinitconst pch_gbe_pcidev_id If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions