[ARM] PCI: add platform private data to pci_sys_data
Saeed Bishara [Thu, 3 Jun 2010 11:58:46 +0000 (14:58 +0300)]
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>

arch/arm/include/asm/mach/pci.h

index 52f0da1..16330bd 100644 (file)
@@ -46,6 +46,7 @@ struct pci_sys_data {
                                        /* IRQ mapping                          */
        int             (*map_irq)(struct pci_dev *, u8, u8);
        struct hw_pci   *hw;
+       void            *private_data;  /* platform controller private data     */
 };
 
 /*