aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/philips/pnx8550/common/pci.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-04 15:14:05 -0700
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 17:39:20 +0100
commit5e46c3aefe60d1398488410a0c39b4cd87738614 (patch)
tree982f9820e63cee8aacc4a6132f124d1cef4fe901 /arch/mips/philips/pnx8550/common/pci.c
parentcbb306962ec4b30e03423137e22d605281a8f598 (diff)
[MIPS] C99-ify struct resource initialization.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/philips/pnx8550/common/pci.c')
-rw-r--r--arch/mips/philips/pnx8550/common/pci.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/philips/pnx8550/common/pci.c b/arch/mips/philips/pnx8550/common/pci.c
index baa6905f649..eee4f3dfc41 100644
--- a/arch/mips/philips/pnx8550/common/pci.c
+++ b/arch/mips/philips/pnx8550/common/pci.c
@@ -27,17 +27,17 @@
#include <nand.h>
static struct resource pci_io_resource = {
- "pci IO space",
- (u32)(PNX8550_PCIIO + 0x1000), /* reserve regacy I/O space */
- (u32)(PNX8550_PCIIO + PNX8550_PCIIO_SIZE),
- IORESOURCE_IO
+ .start = PNX8550_PCIIO + 0x1000, /* reserve regacy I/O space */
+ .end = PNX8550_PCIIO + PNX8550_PCIIO_SIZE,
+ .name = "pci IO space",
+ .flags = IORESOURCE_IO
};
static struct resource pci_mem_resource = {
- "pci memory space",
- (u32)(PNX8550_PCIMEM),
- (u32)(PNX8550_PCIMEM + PNX8550_PCIMEM_SIZE - 1),
- IORESOURCE_MEM
+ .start = PNX8550_PCIMEM,
+ .end = PNX8550_PCIMEM + PNX8550_PCIMEM_SIZE - 1,
+ .name = "pci memory space",
+ .flags = IORESOURCE_MEM
};
extern struct pci_ops pnx8550_pci_ops;