xref: /linux/drivers/pci/controller/pci-host-common.h (revision 22c55fb9eb92395d999b8404d73e58540d11bdd8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Common library for PCI host controller drivers
4  *
5  * Copyright (C) 2014 ARM Limited
6  *
7  * Author: Will Deacon <will.deacon@arm.com>
8  */
9 
10 #ifndef _PCI_HOST_COMMON_H
11 #define _PCI_HOST_COMMON_H
12 
13 struct pci_ecam_ops;
14 
15 int pci_host_common_probe(struct platform_device *pdev);
16 int pci_host_common_init(struct platform_device *pdev,
17 			 const struct pci_ecam_ops *ops);
18 void pci_host_common_remove(struct platform_device *pdev);
19 
20 struct pci_config_window *pci_host_common_ecam_create(struct device *dev,
21 	struct pci_host_bridge *bridge, const struct pci_ecam_ops *ops);
22 #endif
23