treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / include / asm / leon_pci.h
blob484a56e81dcc61f438b4c4c84b3fb6636756d4c6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * asm/leon_pci.h
5 * Copyright (C) 2011 Aeroflex Gaisler AB, Daniel Hellstrom
6 */
8 #ifndef _ASM_LEON_PCI_H_
9 #define _ASM_LEON_PCI_H_
11 /* PCI related definitions */
12 struct leon_pci_info {
13 struct pci_ops *ops;
14 struct resource io_space;
15 struct resource mem_space;
16 struct resource busn;
17 int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
20 void leon_pci_init(struct platform_device *ofdev,
21 struct leon_pci_info *info);
23 #endif /* _ASM_LEON_PCI_H_ */