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>

authored by Randy Dunlap and committed by David S. Miller f7594d42 fcd13f42

+3 -3
+3 -3
drivers/net/pch_gbe/pch_gbe_main.c
··· 2441 2441 .resume = pch_gbe_io_resume 2442 2442 }; 2443 2443 2444 - static struct pci_driver pch_gbe_pcidev = { 2444 + static struct pci_driver pch_gbe_driver = { 2445 2445 .name = KBUILD_MODNAME, 2446 2446 .id_table = pch_gbe_pcidev_id, 2447 2447 .probe = pch_gbe_probe, ··· 2458 2458 { 2459 2459 int ret; 2460 2460 2461 - ret = pci_register_driver(&pch_gbe_pcidev); 2461 + ret = pci_register_driver(&pch_gbe_driver); 2462 2462 if (copybreak != PCH_GBE_COPYBREAK_DEFAULT) { 2463 2463 if (copybreak == 0) { 2464 2464 pr_info("copybreak disabled\n"); ··· 2472 2472 2473 2473 static void __exit pch_gbe_exit_module(void) 2474 2474 { 2475 - pci_unregister_driver(&pch_gbe_pcidev); 2475 + pci_unregister_driver(&pch_gbe_driver); 2476 2476 } 2477 2477 2478 2478 module_init(pch_gbe_init_module);