/* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * Copyright (C) 2012 John Crispin <blogic@openwrt.org> */#include <linux/of_irq.h>#include <linux/of_pci.h>int(*ltq_pci_plat_arch_init)(structpci_dev*dev)=NULL;int(*ltq_pci_plat_dev_init)(structpci_dev*dev)=NULL;intpcibios_plat_dev_init(structpci_dev*dev){if(ltq_pci_plat_arch_init)returnltq_pci_plat_arch_init(dev);if(ltq_pci_plat_dev_init)returnltq_pci_plat_dev_init(dev);return0;}int__initpcibios_map_irq(conststructpci_dev*dev,u8slot,u8pin){returnof_irq_parse_and_map_pci(dev,slot,pin);}