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/au1000/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/au1000/common/pci.c')
-rw-r--r-- | arch/mips/au1000/common/pci.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/au1000/common/pci.c b/arch/mips/au1000/common/pci.c index 4e5a6e1a9a6e..b1392abac809 100644 --- a/arch/mips/au1000/common/pci.c +++ b/arch/mips/au1000/common/pci.c | |||
@@ -40,17 +40,17 @@ | |||
40 | 40 | ||
41 | /* TBD */ | 41 | /* TBD */ |
42 | static struct resource pci_io_resource = { | 42 | static struct resource pci_io_resource = { |
43 | "pci IO space", | 43 | .start = PCI_IO_START, |
44 | (u32)PCI_IO_START, | 44 | .end = PCI_IO_END, |
45 | (u32)PCI_IO_END, | 45 | .name = "PCI IO space", |
46 | IORESOURCE_IO | 46 | .flags = IORESOURCE_IO |
47 | }; | 47 | }; |
48 | 48 | ||
49 | static struct resource pci_mem_resource = { | 49 | static struct resource pci_mem_resource = { |
50 | "pci memory space", | 50 | .start = PCI_MEM_START, |
51 | (u32)PCI_MEM_START, | 51 | .end = PCI_MEM_END, |
52 | (u32)PCI_MEM_END, | 52 | .name = "PCI memory space", |
53 | IORESOURCE_MEM | 53 | .flags = IORESOURCE_MEM |
54 | }; | 54 | }; |
55 | 55 | ||
56 | extern struct pci_ops au1x_pci_ops; | 56 | extern struct pci_ops au1x_pci_ops; |