From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Fix section mismatch warning in pci_eisa.c: WARNING: drivers/eisa/built-in.o(.data+0x90): Section mismatch in reference from the variable pci_eisa_driver to the function .init.text:pci_eisa_init() The variable pci_eisa_driver references the function __init pci_eisa_init() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Reported-by: Witold Baryluk <baryluk@xxxxxxxxxxxxxxxx> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Cc: Adrian Bunk <bunk@xxxxxxxxx> --- drivers/eisa/pci_eisa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- lnx26today.orig/drivers/eisa/pci_eisa.c +++ lnx26today/drivers/eisa/pci_eisa.c @@ -51,7 +51,7 @@ static struct pci_device_id pci_eisa_pci { 0, } }; -static struct pci_driver pci_eisa_driver = { +static struct pci_driver pci_eisa_driver __refdata = { .name = "pci_eisa", .id_table = pci_eisa_pci_tbl, .probe = pci_eisa_init, -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html