diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-05 00:14:05 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 18:39:20 +0200 |
commit | 5e46c3aefe60d1398488410a0c39b4cd87738614 (patch) | |
tree | 982f9820e63cee8aacc4a6132f124d1cef4fe901 /arch/mips/au1000/common/pci.c | |
parent | [MIPS] Remove duplicate declarations from Alchemy code. (diff) | |
download | linux-5e46c3aefe60d1398488410a0c39b4cd87738614.tar.xz linux-5e46c3aefe60d1398488410a0c39b4cd87738614.zip |
[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 @@ /* TBD */ static struct resource pci_io_resource = { - "pci IO space", - (u32)PCI_IO_START, - (u32)PCI_IO_END, - IORESOURCE_IO + .start = PCI_IO_START, + .end = PCI_IO_END, + .name = "PCI IO space", + .flags = IORESOURCE_IO }; static struct resource pci_mem_resource = { - "pci memory space", - (u32)PCI_MEM_START, - (u32)PCI_MEM_END, - IORESOURCE_MEM + .start = PCI_MEM_START, + .end = PCI_MEM_END, + .name = "PCI memory space", + .flags = IORESOURCE_MEM }; extern struct pci_ops au1x_pci_ops; |