--- zzzz-none-000/linux-4.9.218/arch/mips/pci/fixup-lantiq.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/arch/mips/pci/fixup-lantiq.c 2023-03-29 10:59:06.000000000 +0000 @@ -4,19 +4,16 @@ * by the Free Software Foundation. * * Copyright (C) 2012 John Crispin + * Copyright (C) 2016 Intel Corporation */ - +#include #include #include -int (*ltq_pci_plat_arch_init)(struct pci_dev *dev) = NULL; int (*ltq_pci_plat_dev_init)(struct pci_dev *dev) = NULL; int pcibios_plat_dev_init(struct pci_dev *dev) { - if (ltq_pci_plat_arch_init) - return ltq_pci_plat_arch_init(dev); - if (ltq_pci_plat_dev_init) return ltq_pci_plat_dev_init(dev);