diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-04 18:14:05 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 12:39:20 -0400 |
commit | 5e46c3aefe60d1398488410a0c39b4cd87738614 (patch) | |
tree | 982f9820e63cee8aacc4a6132f124d1cef4fe901 /arch/mips/philips/pnx8550/common/pci.c | |
parent | cbb306962ec4b30e03423137e22d605281a8f598 (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.c | 16 |
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 baa6905f649f..eee4f3dfc410 100644 --- a/arch/mips/philips/pnx8550/common/pci.c +++ b/arch/mips/philips/pnx8550/common/pci.c | |||
@@ -27,17 +27,17 @@ | |||
27 | #include <nand.h> | 27 | #include <nand.h> |
28 | 28 | ||
29 | static struct resource pci_io_resource = { | 29 | static struct resource pci_io_resource = { |
30 | "pci IO space", | 30 | .start = PNX8550_PCIIO + 0x1000, /* reserve regacy I/O space */ |
31 | (u32)(PNX8550_PCIIO + 0x1000), /* reserve regacy I/O space */ | 31 | .end = PNX8550_PCIIO + PNX8550_PCIIO_SIZE, |
32 | (u32)(PNX8550_PCIIO + PNX8550_PCIIO_SIZE), | 32 | .name = "pci IO space", |
33 | IORESOURCE_IO | 33 | .flags = IORESOURCE_IO |
34 | }; | 34 | }; |
35 | 35 | ||
36 | static struct resource pci_mem_resource = { | 36 | static struct resource pci_mem_resource = { |
37 | "pci memory space", | 37 | .start = PNX8550_PCIMEM, |
38 | (u32)(PNX8550_PCIMEM), | 38 | .end = PNX8550_PCIMEM + PNX8550_PCIMEM_SIZE - 1, |
39 | (u32)(PNX8550_PCIMEM + PNX8550_PCIMEM_SIZE - 1), | 39 | .name = "pci memory space", |
40 | IORESOURCE_MEM | 40 | .flags = IORESOURCE_MEM |
41 | }; | 41 | }; |
42 | 42 | ||
43 | extern struct pci_ops pnx8550_pci_ops; | 43 | extern struct pci_ops pnx8550_pci_ops; |