diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-28 08:39:57 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:46 -0400 |
commit | 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 (patch) | |
tree | 0893140cd9b2c80198950f3cd1b8053f951ca729 /arch/mips/mips-boards/atlas/atlas_int.c | |
parent | d437441ef5336874e934bd53a03159a584efe95a (diff) |
Convert struct hw_interrupt_type initializations to ISO C99 named
initializers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards/atlas/atlas_int.c')
-rw-r--r-- | arch/mips/mips-boards/atlas/atlas_int.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/mips/mips-boards/atlas/atlas_int.c b/arch/mips/mips-boards/atlas/atlas_int.c index 19d4b0792460..bc0ebc69bfb3 100644 --- a/arch/mips/mips-boards/atlas/atlas_int.c +++ b/arch/mips/mips-boards/atlas/atlas_int.c | |||
@@ -76,14 +76,13 @@ static void end_atlas_irq(unsigned int irq) | |||
76 | } | 76 | } |
77 | 77 | ||
78 | static struct hw_interrupt_type atlas_irq_type = { | 78 | static struct hw_interrupt_type atlas_irq_type = { |
79 | "Atlas", | 79 | .typename = "Atlas", |
80 | startup_atlas_irq, | 80 | .startup = startup_atlas_irq, |
81 | shutdown_atlas_irq, | 81 | .shutdown = shutdown_atlas_irq, |
82 | enable_atlas_irq, | 82 | .enable = enable_atlas_irq, |
83 | disable_atlas_irq, | 83 | .disable = disable_atlas_irq, |
84 | mask_and_ack_atlas_irq, | 84 | .ack = mask_and_ack_atlas_irq, |
85 | end_atlas_irq, | 85 | .end = end_atlas_irq, |
86 | NULL | ||
87 | }; | 86 | }; |
88 | 87 | ||
89 | static inline int ls1bit32(unsigned int x) | 88 | static inline int ls1bit32(unsigned int x) |