]> git.hungrycats.org Git - linux/commitdiff
Don't use obsolete gcc named initializer syntax.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:58:48 +0000 (09:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:58:48 +0000 (09:58 -0700)
The proper C99 syntax is much preferred.

kernel/irq/handle.c

index 58ec49133f788a4160eaee85ab790f98490a861a..6f0ebc254e3e6c74b6502ef1ca8b42a0610704cb 100644 (file)
@@ -54,14 +54,14 @@ static void ack_none(unsigned int irq)
 }
 
 struct hw_interrupt_type no_irq_type = {
-       typename:       "none",
-       startup:        startup_none,
-       shutdown:       shutdown_none,
-       enable:         enable_none,
-       disable:        disable_none,
-       ack:            ack_none,
-       end:            end_none,
-       set_affinity:   NULL
+       .typename =     "none",
+       .startup =      startup_none,
+       .shutdown =     shutdown_none,
+       .enable =       enable_none,
+       .disable =      disable_none,
+       .ack =          ack_none,
+       .end =          end_none,
+       .set_affinity = NULL
 };
 
 /*