aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/i8259.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/kernel/i8259.c
parentcbb306962ec4b30e03423137e22d605281a8f598 (diff)
downloadkernel_samsung_smdk4412-5e46c3aefe60d1398488410a0c39b4cd87738614.zip
kernel_samsung_smdk4412-5e46c3aefe60d1398488410a0c39b4cd87738614.tar.gz
kernel_samsung_smdk4412-5e46c3aefe60d1398488410a0c39b4cd87738614.tar.bz2
[MIPS] C99-ify struct resource initialization.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/i8259.c')
-rw-r--r--arch/mips/kernel/i8259.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c
index 2125ba5..0cb8ed5 100644
--- a/arch/mips/kernel/i8259.c
+++ b/arch/mips/kernel/i8259.c
@@ -302,11 +302,11 @@ static struct irqaction irq2 = {
};
static struct resource pic1_io_resource = {
- "pic1", 0x20, 0x3f, IORESOURCE_BUSY
+ .name = "pic1", .start = 0x20, .end = 0x3f, .flags = IORESOURCE_BUSY
};
static struct resource pic2_io_resource = {
- "pic2", 0xa0, 0xbf, IORESOURCE_BUSY
+ .name = "pic2", .start = 0xa0, .end = 0xbf, .flags = IORESOURCE_BUSY
};
/*