OpenCloudOS-Kernel/drivers/net/pch_gbe
Randy Dunlap f7594d4294 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>
2011-03-24 16:16:02 -07:00
..
Makefile net: Add Gigabit Ethernet driver of Topcliff PCH 2010-09-24 21:06:03 -07:00
pch_gbe.h pch_gbe: Fix the MAC Address load issue. 2011-02-14 13:37:26 -08:00
pch_gbe_api.c pch_gbe: make local functions static 2010-10-21 03:09:44 -07:00
pch_gbe_api.h net: Add Gigabit Ethernet driver of Topcliff PCH 2010-09-24 21:06:03 -07:00
pch_gbe_ethtool.c net: Fix too optimistic NETIF_F_HW_CSUM features 2010-12-06 12:59:04 -08:00
pch_gbe_main.c net: fix pch_gbe section mismatch warning 2011-03-24 16:16:02 -07:00
pch_gbe_param.c pch_gbe driver: The wrong of initializer entry 2010-11-29 08:51:34 -08:00
pch_gbe_phy.c net: Add Gigabit Ethernet driver of Topcliff PCH 2010-09-24 21:06:03 -07:00
pch_gbe_phy.h net: Add Gigabit Ethernet driver of Topcliff PCH 2010-09-24 21:06:03 -07:00