--- zzzz-none-000/linux-4.9.276/arch/mips/pci/fixup-lantiq.c 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/arch/mips/pci/fixup-lantiq.c 2023-04-05 08:19:00.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);