2 +++ b/arch/mips/include/asm/mach-lantiq/pci.h
5 + * lantiq SoCs specific PCI definitions
7 + * This program is free software; you can redistribute it and/or modify it
8 + * under the terms of the GNU General Public License version 2 as published
9 + * by the Free Software Foundation.
12 +#ifndef __ASM_MACH_LANTIQ_PCI_H
13 +#define __ASM_MACH_LANTIQ_PCI_H
15 +extern int (*ifxmips_pci_plat_dev_init)(struct pci_dev *dev);
18 --- a/arch/mips/pci/pci-lantiq.c
19 +++ b/arch/mips/pci/pci-lantiq.c
22 u32 lq_pci_mapped_cfg;
24 +int (*lqpci_plat_dev_init)(struct pci_dev *dev) = NULL;
26 /* Since the PCI REQ pins can be reused for other functionality, make it possible
27 to exclude those from interpretation by the PCI controller */
28 static int lq_pci_req_mask = 0xf;
30 printk ("WARNING: invalid interrupt pin %d\n", pin);
34 + if (lqpci_plat_dev_init)
35 + return lqpci_plat_dev_init(dev);