mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
f7594d4294
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> |
||
---|---|---|
.. | ||
Makefile | ||
pch_gbe_api.c | ||
pch_gbe_api.h | ||
pch_gbe_ethtool.c | ||
pch_gbe_main.c | ||
pch_gbe_param.c | ||
pch_gbe_phy.c | ||
pch_gbe_phy.h | ||
pch_gbe.h |