mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/arm: allow PCI host bridge to have private data
Some of the PCI host bridges require private data. Add priv field to struct pci_host_bridge, so such bridges may populate it with their private data. Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Mykyta Poturai <mykyta_poturai@epam.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
108308feef
commit
92b72ab868
1 file changed
+1
@@ -68,6 +68,7 @@ struct pci_host_bridge {
|
||||
uint16_t segment; /* Segment number */
|
||||
struct pci_config_window* cfg; /* Pointer to the bridge config window */
|
||||
const struct pci_ops *ops;
|
||||
void *priv; /* Private data of the bridge. */
|
||||
};
|
||||
|
||||
struct pci_ops {
|
||||
|
||||