mirror of https://gitee.com/openkylin/linux.git
[ARM] PCI: add platform private data to pci_sys_data
Add private_data pointer to the pci_sys_data, this pointer can be used for holding platform specific data for each pci controller. Signed-off-by: Saeed Bishara <saeed@marvell.com> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
This commit is contained in:
parent
1e4d2d3da3
commit
35fe2fc44a
|
@ -46,6 +46,7 @@ struct pci_sys_data {
|
||||||
/* IRQ mapping */
|
/* IRQ mapping */
|
||||||
int (*map_irq)(struct pci_dev *, u8, u8);
|
int (*map_irq)(struct pci_dev *, u8, u8);
|
||||||
struct hw_pci *hw;
|
struct hw_pci *hw;
|
||||||
|
void *private_data; /* platform controller private data */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue