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/mips-boards | |
parent | cbb306962ec4b30e03423137e22d605281a8f598 (diff) |
[MIPS] C99-ify struct resource initialization.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r-- | arch/mips/mips-boards/malta/malta_setup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/mips-boards/malta/malta_setup.c b/arch/mips/mips-boards/malta/malta_setup.c index b8488aab6df1..ae1de3dc71ed 100644 --- a/arch/mips/mips-boards/malta/malta_setup.c +++ b/arch/mips/mips-boards/malta/malta_setup.c | |||
@@ -53,11 +53,11 @@ extern void kgdb_config(void); | |||
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | struct resource standard_io_resources[] = { | 55 | struct resource standard_io_resources[] = { |
56 | { "dma1", 0x00, 0x1f, IORESOURCE_BUSY }, | 56 | { .name = "dma1", .start = 0x00, .end = 0x1f, .flags = IORESOURCE_BUSY }, |
57 | { "timer", 0x40, 0x5f, IORESOURCE_BUSY }, | 57 | { .name = "timer", .start = 0x40, .end = 0x5f, .flags = IORESOURCE_BUSY }, |
58 | { "keyboard", 0x60, 0x6f, IORESOURCE_BUSY }, | 58 | { .name = "keyboard", .start = 0x60, .end = 0x6f, .flags = IORESOURCE_BUSY }, |
59 | { "dma page reg", 0x80, 0x8f, IORESOURCE_BUSY }, | 59 | { .name = "dma page reg", .start = 0x80, .end = 0x8f, .flags = IORESOURCE_BUSY }, |
60 | { "dma2", 0xc0, 0xdf, IORESOURCE_BUSY }, | 60 | { .name = "dma2", .start = 0xc0, .end = 0xdf, .flags = IORESOURCE_BUSY }, |
61 | }; | 61 | }; |
62 | 62 | ||
63 | #ifdef CONFIG_MTD | 63 | #ifdef CONFIG_MTD |