treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / pci / fixup-bcm63xx.c
blob340863009da9241fcf83f2fd6e853d4fbd379e15
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr>
7 */
9 #include <linux/types.h>
10 #include <linux/pci.h>
11 #include <bcm63xx_cpu.h>
13 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
15 return bcm63xx_get_irq_number(IRQ_PCI);
18 int pcibios_plat_dev_init(struct pci_dev *dev)
20 return 0;