ARM: move PCI i/o resource setup into common code
[linux-2.6-block.git] / arch / arm / include / asm / mach / pci.h
index df818876fa311e93451be4636980eefbfe9eb0af..db9fedb57f2c4284d2d456ee0eef29270580579c 100644 (file)
@@ -11,6 +11,7 @@
 #ifndef __ASM_MACH_PCI_H
 #define __ASM_MACH_PCI_H
 
+#include <linux/ioport.h>
 
 struct pci_sys_data;
 struct pci_ops;
@@ -43,6 +44,8 @@ struct pci_sys_data {
        unsigned long   io_offset;      /* bus->cpu IO mapping offset           */
        struct pci_bus  *bus;           /* PCI bus                              */
        struct list_head resources;     /* root bus resources (apertures)       */
+       struct resource io_res;
+       char            io_res_name[12];
                                        /* Bridge swizzling                     */
        u8              (*swizzle)(struct pci_dev *, u8 *);
                                        /* IRQ mapping                          */