mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
075dd2eef0
Ever since introduction in the commite47d488935
("MIPS: Lantiq: Add PCI controller support.") ltqpci_plat_dev_init has been unused. In57c8cb8f24
("MIPS: pci: convert lantiq driver to OF") also ltq_pci_plat_arch_init was introduced. With those commit being more than 10 years ago, it seem neither is going to get used anytime soon. Thus, remove both unused function pointer variables. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmal.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
19 lines
338 B
C
19 lines
338 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
*
|
|
* Copyright (C) 2012 John Crispin <john@phrozen.org>
|
|
*/
|
|
|
|
#include <linux/of_pci.h>
|
|
#include <linux/pci.h>
|
|
|
|
int pcibios_plat_dev_init(struct pci_dev *dev)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
|
|
{
|
|
return of_irq_parse_and_map_pci(dev, slot, pin);
|
|
}
|