--- zzzz-none-000/linux-4.9.231/arch/mips/pci/fixup-lantiq.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/arch/mips/pci/fixup-lantiq.c 2022-03-30 12:03:33.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);