WARNING: drivers/eisa/built-in.o(.data+0xb0): Section mismatch in reference from the variable pci_eisa_driver to the function .init.text:pci_eisa_init() Fix the above warning by correctly declaring pci_eisa_driver variable. Signed-off-by: Jean Sacren <sakiwit@xxxxxxxxx> --- drivers/eisa/pci_eisa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/eisa/pci_eisa.c b/drivers/eisa/pci_eisa.c index 0dd0f63..0beed9b 100644 --- a/drivers/eisa/pci_eisa.c +++ b/drivers/eisa/pci_eisa.c @@ -51,7 +51,7 @@ static struct pci_device_id pci_eisa_pci_tbl[] = { { 0, } }; -static struct pci_driver pci_eisa_driver = { +static struct pci_driver pci_eisa_driver __initdata = { .name = "pci_eisa", .id_table = pci_eisa_pci_tbl, .probe = pci_eisa_init, -- 1.7.1 -- 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