]> git.neil.brown.name Git - history.git/commitdiff
[TRIVIAL] acorn & arm designated initializer rework
authorRussell King <rmk@flint.arm.linux.org.uk>
Sat, 3 Aug 2002 15:53:07 +0000 (16:53 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 3 Aug 2002 15:53:07 +0000 (16:53 +0100)
From Rusty.
The old form of designated initializers are obsolete: we need to
replace them with the ISO C forms before 2.6.  Gcc has always supported
both forms anyway.

(rmk - cleaned up spacing to be more reasonable)

60 files changed:
arch/arm/kernel/dma-isa.c
arch/arm/kernel/ecard.c
arch/arm/kernel/fiq.c
arch/arm/kernel/irq.c
arch/arm/kernel/setup.c
arch/arm/kernel/time.c
arch/arm/mach-anakin/irq.c
arch/arm/mach-arc/dma.c
arch/arm/mach-clps711x/irq.c
arch/arm/mach-ebsa110/core.c
arch/arm/mach-epxa10db/irq.c
arch/arm/mach-footbridge/cats-pci.c
arch/arm/mach-footbridge/dma.c
arch/arm/mach-footbridge/ebsa285-pci.c
arch/arm/mach-footbridge/irq.c
arch/arm/mach-footbridge/isa-irq.c
arch/arm/mach-footbridge/netwinder-pci.c
arch/arm/mach-footbridge/personal-pci.c
arch/arm/mach-ftvpci/pci.c
arch/arm/mach-integrator/arch.c
arch/arm/mach-integrator/irq.c
arch/arm/mach-integrator/pci.c
arch/arm/mach-integrator/pci_v3.c
arch/arm/mach-iop310/iop310-irq.c
arch/arm/mach-iop310/iq80310-irq.c
arch/arm/mach-iop310/iq80310-pci.c
arch/arm/mach-iop310/iq80310-time.c
arch/arm/mach-iop310/xs80200-irq.c
arch/arm/mach-pxa/irq.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-rpc/dma.c
arch/arm/mach-rpc/irq.c
arch/arm/mach-sa1100/adsbitsy.c
arch/arm/mach-sa1100/assabet.c
arch/arm/mach-sa1100/cpu-sa1100.c
arch/arm/mach-sa1100/cpu-sa1110.c
arch/arm/mach-sa1100/graphicsclient.c
arch/arm/mach-sa1100/graphicsmaster.c
arch/arm/mach-sa1100/h3600.c
arch/arm/mach-sa1100/irq.c
arch/arm/mach-sa1100/neponset.c
arch/arm/mach-sa1100/sa1111.c
arch/arm/mach-sa1100/simpad.c
arch/arm/mach-sa1100/system3.c
arch/arm/mach-shark/irq.c
arch/arm/mach-shark/pci.c
drivers/acorn/block/fd1772.c
drivers/acorn/block/mfmhd.c
drivers/acorn/char/i2c.c
drivers/acorn/char/mouse_ps2.c
drivers/acorn/char/pcf8583.c
drivers/acorn/net/etherh.c
drivers/acorn/scsi/acornscsi.c
drivers/acorn/scsi/cumana_1.c
drivers/acorn/scsi/cumana_2.c
drivers/acorn/scsi/ecoscsi.c
drivers/acorn/scsi/eesox.c
drivers/acorn/scsi/oak.c
drivers/acorn/scsi/powertec.c
sound/arm/sa11xx-uda1341.c

index 1d36940b8a166d689183070104992a71a8032b57..2125bb6a128271ae66e8197514b4163307065374 100644 (file)
@@ -133,10 +133,10 @@ static void isa_disable_dma(dmach_t channel, dma_t *dma)
 }
 
 static struct dma_ops isa_dma_ops = {
-       type:           "ISA",
-       enable:         isa_enable_dma,
-       disable:        isa_disable_dma,
-       residue:        isa_get_dma_residue,
+       .type           = "ISA",
+       .enable         = isa_enable_dma,
+       .disable        = isa_disable_dma,
+       .residue        = isa_get_dma_residue,
 };
 
 static struct resource dma_resources[] = {
index 2213863f199e78b3c4bdb4f63eaffe9a13c38d05..4a4d89003ecc29a709fd004527d555f9f5a4efae 100644 (file)
@@ -407,7 +407,7 @@ static int ecard_reboot(struct notifier_block *me, unsigned long val, void *v)
 }
 
 static struct notifier_block ecard_reboot_notifier = {
-       notifier_call:  ecard_reboot,
+       .notifier_call  = ecard_reboot,
 };
 
 
@@ -571,9 +571,9 @@ static void ecard_irq_mask(unsigned int irqnr)
 }
 
 static struct irqchip ecard_chip = {
-       ack:    ecard_irq_mask,
-       mask:   ecard_irq_mask,
-       unmask: ecard_irq_unmask,
+       .ack    = ecard_irq_mask,
+       .mask   = ecard_irq_mask,
+       .unmask = ecard_irq_unmask,
 };
 
 void ecard_enablefiq(unsigned int fiqnr)
index cdf9655f3d05701e9f70faa6c4b31410a357f57e..52a2aa20c70aecc4f39462d8edd7acc1dc2836ad 100644 (file)
@@ -87,8 +87,8 @@ static int fiq_def_op(void *ref, int relinquish)
 }
 
 static struct fiq_handler default_owner = {
-       name:   "default",
-       fiq_op: fiq_def_op,
+       .name   = "default",
+       .fiq_op = fiq_def_op,
 };
 
 static struct fiq_handler *current_fiq = &default_owner;
index e8d788b364c7de860a07c3ea9561bca5d243538c..53e6f1b79ecdc53b18d330e5ff726c33cba3da68 100644 (file)
@@ -64,15 +64,15 @@ void do_bad_IRQ(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs)
 }
 
 static struct irqchip bad_chip = {
-       ack:    dummy_mask_unmask_irq,
-       mask:   dummy_mask_unmask_irq,
-       unmask: dummy_mask_unmask_irq,
+       .ack    = dummy_mask_unmask_irq,
+       .mask   = dummy_mask_unmask_irq,
+       .unmask = dummy_mask_unmask_irq,
 };
 
 static struct irqdesc bad_irq_desc = {
-       chip:   &bad_chip,
-       handle: do_bad_IRQ,
-       depth:  1,
+       .chip   = &bad_chip,
+       .handle = do_bad_IRQ,
+       .depth  = 1,
 };
 
 /**
index 879b607c2de17ce4f6cdddfba7a5eaba727b174c..f87230487d6bd14fec0cab0e082cffbd9b6a4d50 100644 (file)
@@ -803,8 +803,8 @@ static void c_stop(struct seq_file *m, void *v)
 }
 
 struct seq_operations cpuinfo_op = {
-       start:  c_start,
-       next:   c_next,
-       stop:   c_stop,
-       show:   c_show
+       .start  = c_start,
+       .next   = c_next,
+       .stop   = c_stop,
+       .show   = c_show
 };
index cd00aacc74a9f0cde0b630038fb8d47224ef3500..3d79e5c473671919df0bbbb3fd8226b9608c0747 100644 (file)
@@ -205,7 +205,7 @@ void do_settimeofday(struct timeval *tv)
 }
 
 static struct irqaction timer_irq = {
-       name: "timer",
+       .name   = "timer",
 };
 
 /*
index 42d2302b56324a1ad96579caa21e93aabcf70265..46cd97f56ff17637803516fc27a124d231f45e35 100644 (file)
@@ -49,9 +49,9 @@ anakin_interrupt(int irq, void *dev_id, struct pt_regs *regs)
 }
 
 static struct irqaction anakin_irq = {
-       name:           "Anakin IRQ",
-       handler:        anakin_interrupt,
-       flags:          SA_INTERRUPT
+       .name           = "Anakin IRQ",
+       .handler        = anakin_interrupt,
+       .flags          = SA_INTERRUPT
 };
  
 void __init
index 9012117e07a5c9ebe969adfb46a56f76fd24bb96..a49785206265d6d6769fde4c83c5bb77c8d230db 100644 (file)
@@ -110,23 +110,23 @@ static void arc_disable_dma(dmach_t channel, dma_t *dma)
 }
 
 static struct dma_ops arc_floppy_data_dma_ops = {
-       type:           "FIQDMA",
-       enable:         arc_floppy_data_enable_dma,
-       disable:        arc_disable_dma,
-       residue:        arc_floppy_data_get_dma_residue,
+       .type           = "FIQDMA",
+       .enable         = arc_floppy_data_enable_dma,
+       .disable        = arc_disable_dma,
+       .residue        = arc_floppy_data_get_dma_residue,
 };
 
 static struct dma_ops arc_floppy_cmdend_dma_ops = {
-       type:           "FIQCMD",
-       enable:         arc_floppy_cmdend_enable_dma,
-       disable:        arc_disable_dma,
-       residue:        arc_floppy_cmdend_get_dma_residue,
+       .type           = "FIQCMD",
+       .enable         = arc_floppy_cmdend_enable_dma,
+       .disable        = arc_disable_dma,
+       .residue        = arc_floppy_cmdend_get_dma_residue,
 };
 #endif
 
 #ifdef CONFIG_ARCH_A5K
 static struct fiq_handler fh = {
-       name:   "floppydata"
+       .name   = "floppydata"
 };
 
 static int a5k_floppy_get_dma_residue(dmach_t channel, dma_t *dma)
@@ -175,10 +175,10 @@ static void a5k_floppy_disable_dma(dmach_t channel, dma_t *dma)
 }
 
 static struct dma_ops a5k_floppy_dma_ops = {
-       type:           "FIQDMA",
-       enable:         a5k_floppy_enable_dma,
-       disable:        a5k_floppy_disable_dma,
-       residue:        a5k_floppy_get_dma_residue,
+       .type           = "FIQDMA",
+       .enable         = a5k_floppy_enable_dma,
+       .disable        = a5k_floppy_disable_dma,
+       .residue        = a5k_floppy_get_dma_residue,
 };
 #endif
 
@@ -190,9 +190,9 @@ static void sound_enable_disable_dma(dmach_t channel, dma_t *dma)
 }
 
 static struct dma_ops sound_dma_ops = {
-       type:           "VIRTUAL",
-       enable:         sound_enable_disable_dma,
-       disable:        sound_enable_disable_dma,
+       .type           = "VIRTUAL",
+       .enable         = sound_enable_disable_dma,
+       .disable        = sound_enable_disable_dma,
 };
 
 void __init arch_dma_init(dma_t *dma)
index 90c9b93da6eece55daf8e045d44aa5bef5c11874..cacea152f8ea3e745a86d14df552da89226808c9 100644 (file)
@@ -63,9 +63,9 @@ static void int1_unmask(unsigned int irq)
 }
 
 static struct irqchip int1_chip = {
-       ack:    int1_ack,
-       mask:   int1_mask,
-       unmask: int1_unmask,
+       .ack    = int1_ack,
+       .mask   = int1_mask,
+       .unmask = int1_unmask,
 };
 
 static void int2_mask(unsigned int irq)
@@ -100,9 +100,9 @@ static void int2_unmask(unsigned int irq)
 }
 
 static struct irqchip int2_chip = {
-       ack:    int2_ack,
-       mask:   int2_mask,
-       unmask: int2_unmask,
+       .ack    = int2_ack,
+       .mask   = int2_mask,
+       .unmask = int2_unmask,
 };
 
 void __init clps711x_init_irq(void)
index 462e3241a290bb48e15df99695a237670ca8f810..5c14e04eae1be69e124f8d6b4e3b2d0d00c8c44b 100644 (file)
@@ -42,9 +42,9 @@ static void ebsa110_unmask_irq(unsigned int irq)
 }
 
 static struct irqchip ebsa110_irq_chip = {
-       ack:    ebsa110_mask_irq,
-       mask:   ebsa110_mask_irq,
-       unmask: ebsa110_unmask_irq,
+       .ack    = ebsa110_mask_irq,
+       .mask   = ebsa110_mask_irq,
+       .unmask = ebsa110_unmask_irq,
 };
  
 static void __init ebsa110_init_irq(void)
index 322dc61e39d9ef6f6911d671d6dd8c51f98f667f..440ad3ef12a82feabdf4887ffae2854c7aab627c 100644 (file)
@@ -39,15 +39,15 @@ static void epxa_unmask_irq(unsigned int irq)
  
 
 static struct irqchip epxa_irq_chip = {
-       ack:            epxa_mask_irq,
-       mask:           epxa_mask_irq,
-       unmask:         epxa_unmask_irq,
+       .ack            = epxa_mask_irq,
+       .mask           = epxa_mask_irq,
+       .unmask         = epxa_unmask_irq,
 };
 
 static struct resource irq_resource = {
-       name:   "irq_handler",
-       start:  IO_ADDRESS(EXC_INT_CTRL00_BASE),
-       end:    IO_ADDRESS(INT_PRIORITY_FC(EXC_INT_CTRL00_BASE))+4,
+       .name   = "irq_handler",
+       .start  = IO_ADDRESS(EXC_INT_CTRL00_BASE),
+       .end    = IO_ADDRESS(INT_PRIORITY_FC(EXC_INT_CTRL00_BASE))+4,
 };
 
 void __init epxa10db_init_irq(void)
index 386d400f5c1fb42e02b525afff8c9138b2f8e360..4f984fde7375fc867d865bfae26ed53668c93f0c 100644 (file)
@@ -36,13 +36,13 @@ static int __init cats_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
  * cards being used (ie, pci-pci bridge based cards)?
  */
 static struct hw_pci cats_pci __initdata = {
-       swizzle:                NULL,
-       map_irq:                cats_map_irq,
-       nr_controllers:         1,
-       setup:                  dc21285_setup,
-       scan:                   dc21285_scan_bus,
-       preinit:                dc21285_preinit,
-       postinit:               dc21285_postinit,
+       .swizzle                = NULL,
+       .map_irq                = cats_map_irq,
+       .nr_controllers         = 1,
+       .setup                  = dc21285_setup,
+       .scan                   = dc21285_scan_bus,
+       .preinit                = dc21285_preinit,
+       .postinit               = dc21285_postinit,
 };
 
 static int cats_pci_init(void)
index 1674a007a75074d6e3af19716c52d3209c363c98..7cdbf92f1c83fa9e28d6b9c1db8cb1282ea908db 100644 (file)
@@ -35,10 +35,10 @@ static void fb_dma_disable(dmach_t channel, dma_t *dma)
 }
 
 static struct dma_ops fb_dma_ops = {
-       type:           "fb",
-       request:        fb_dma_request,
-       enable:         fb_dma_enable,
-       disable:        fb_dma_disable,
+       .type           = "fb",
+       .request        = fb_dma_request,
+       .enable         = fb_dma_enable,
+       .disable        = fb_dma_disable,
 };
 #endif
 
index f8f95690526421719a1c8249f3bf2ea11a746f29..720c0bac1702e00e6f678946c4ecd7a0b6a50682 100644 (file)
@@ -29,13 +29,13 @@ static int __init ebsa285_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 }
 
 static struct hw_pci ebsa285_pci __initdata = {
-       swizzle:                pci_std_swizzle,
-       map_irq:                ebsa285_map_irq,
-       nr_controllers:         1,
-       setup:                  dc21285_setup,
-       scan:                   dc21285_scan_bus,
-       preinit:                dc21285_preinit,
-       postinit:               dc21285_postinit,
+       .swizzle                = pci_std_swizzle,
+       .map_irq                = ebsa285_map_irq,
+       .nr_controllers         = 1,
+       .setup                  = dc21285_setup,
+       .scan                   = dc21285_scan_bus,
+       .preinit                = dc21285_preinit,
+       .postinit               = dc21285_postinit,
 };
 
 static int __init ebsa285_init_pci(void)
index 6d8195fc4ac68071b5d72fbdd8a70c0867287deb..df59f879d8fcbd3eb527b083cf8cade319df8deb 100644 (file)
@@ -67,9 +67,9 @@ static void fb_unmask_irq(unsigned int irq)
 }
 
 static struct irqchip fb_chip = {
-       ack:    fb_mask_irq,
-       mask:   fb_mask_irq,
-       unmask: fb_unmask_irq,
+       .ack    = fb_mask_irq,
+       .mask   = fb_mask_irq,
+       .unmask = fb_unmask_irq,
 };
 
 static void __init __fb_init_irq(void)
index c04536653f16346b17e838749a1b36d4403fbaad..6b70ecb14ab82312f47ef0c0632a4aef1d2d2cee 100644 (file)
@@ -50,9 +50,9 @@ static void isa_unmask_pic_lo_irq(unsigned int irq)
 }
 
 static struct irqchip isa_lo_chip = {
-       ack:    isa_ack_pic_lo_irq,
-       mask:   isa_mask_pic_lo_irq,
-       unmask: isa_unmask_pic_lo_irq,
+       .ack    = isa_ack_pic_lo_irq,
+       .mask   = isa_mask_pic_lo_irq,
+       .unmask = isa_unmask_pic_lo_irq,
 };
 
 static void isa_mask_pic_hi_irq(unsigned int irq)
@@ -79,9 +79,9 @@ static void isa_unmask_pic_hi_irq(unsigned int irq)
 }
 
 static struct irqchip isa_hi_chip = {
-       ack:    isa_ack_pic_hi_irq,
-       mask:   isa_mask_pic_hi_irq,
-       unmask: isa_unmask_pic_hi_irq,
+       .ack    = isa_ack_pic_hi_irq,
+       .mask   = isa_mask_pic_hi_irq,
+       .unmask = isa_unmask_pic_hi_irq,
 };
 
 static void no_action(int irq, void *dev_id, struct pt_regs *regs)
index 8c426a802ab94ac2e595e31c73f807e903bf46bb..7f67df2300aa84228ced6d07d67b77206ba84a2f 100644 (file)
@@ -43,13 +43,13 @@ static int __init netwinder_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 }
 
 static struct hw_pci netwinder_pci __initdata = {
-       swizzle:                pci_std_swizzle,
-       map_irq:                netwinder_map_irq,
-       nr_controllers:         1,
-       setup:                  dc21285_setup,
-       scan:                   dc21285_scan_bus,
-       preinit:                dc21285_preinit,
-       postinit:               dc21285_postinit,
+       .swizzle                = pci_std_swizzle,
+       .map_irq                = netwinder_map_irq,
+       .nr_controllers         = 1,
+       .setup                  = dc21285_setup,
+       .scan                   = dc21285_scan_bus,
+       .preinit                = dc21285_preinit,
+       .postinit               = dc21285_postinit,
 };
 
 static int __init netwinder_pci_init(void)
index a157cbfcc870eb282cccdffd36f977eca2ec39d1..d5fca95afdad26a340e4b08c13d6486a259babac 100644 (file)
@@ -38,12 +38,12 @@ static int __init personal_server_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 }
 
 static struct hw_pci personal_server_pci __initdata = {
-       map_irq:                personal_server_map_irq,
-       nr_controllers:         1,
-       setup:                  dc21285_setup,
-       scan:                   dc21285_scan_bus,
-       preinit:                dc21285_preinit,
-       postinit:               dc21285_postinit,
+       .map_irq                = personal_server_map_irq,
+       .nr_controllers         = 1,
+       .setup                  = dc21285_setup,
+       .scan                   = dc21285_scan_bus,
+       .preinit                = dc21285_preinit,
+       .postinit               = dc21285_postinit,
 };
 
 static int __init personal_pci_init(void)
index 43bedeb5c90f9485c27f0e5c5614a6148dd5198b..a9941a1e46e425c3fbedc84b6b2743ca57dd799b 100644 (file)
@@ -45,9 +45,9 @@ static u8 __init ftv_swizzle(struct pci_dev *dev, u8 *pin)
 
 /* ftv host-specific stuff */
 static struct hw_pci ftv_pci __initdata = {
-       init:           plx90x0_init,
-       swizzle:        ftv_swizzle,
-       map_irq:        ftv_map_irq,
+       .init           = plx90x0_init,
+       .swizzle        = ftv_swizzle,
+       .map_irq        = ftv_map_irq,
 };
 
 static int __init ftv_pci_init(void)
index 6e732d60aadb1dd7bf8c4641d912a98bd9cc93d8..d009b181d8f0cf21431065a7760ebf12849422a9 100644 (file)
@@ -36,17 +36,17 @@ extern void integrator_init_irq(void);
 
 #ifdef CONFIG_KMI_KEYB
 static struct kmi_info integrator_keyboard __initdata = {
-       base:   IO_ADDRESS(KMI0_BASE),
-       irq:    IRQ_KMIINT0,
-       divisor: 24 / 8 - 1,
-       type:   KMI_KEYBOARD,
+       .base           = IO_ADDRESS(KMI0_BASE),
+       .irq            = IRQ_KMIINT0,
+       .divisor        = 24 / 8 - 1,
+       .type           = KMI_KEYBOARD,
 };
 
 static struct kmi_info integrator_mouse __initdata = {
-       base:   IO_ADDRESS(KMI1_BASE),
-       irq:    IRQ_KMIINT1,
-       divisor: 24 / 8 - 1,
-       type:   KMI_MOUSE,
+       .base           = IO_ADDRESS(KMI1_BASE),
+       .irq            = IRQ_KMIINT1,
+       .divisor        = 24 / 8 - 1,
+       .type           = KMI_MOUSE,
 };
 #endif
 
index e830f8a3939e2c37f11316c9c95c3421b8c4737d..8bda29873bfae15d1688f3412ab914912bf6c562 100644 (file)
@@ -48,9 +48,9 @@ static void sc_unmask_irq(unsigned int irq)
 }
 
 static struct irqchip sc_chip = {
-       ack:    sc_mask_irq,
-       mask:   sc_mask_irq,
-       unmask: sc_unmask_irq,
+       .ack    = sc_mask_irq,
+       .mask   = sc_mask_irq,
+       .unmask = sc_unmask_irq,
 };
  
 void __init integrator_init_irq(void)
index 5489e8437bb22c3284303aa2790dfed130d8ebed..0c23671a70e7bee6b748958a78a4ee786da22b17 100644 (file)
@@ -114,13 +114,13 @@ static int __init integrator_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 extern void pci_v3_init(void *);
 
 static struct hw_pci integrator_pci __initdata = {
-       swizzle:                integrator_swizzle,
-       map_irq:                integrator_map_irq,
-       setup:                  pci_v3_setup,
-       nr_controllers:         1,
-       scan:                   pci_v3_scan_bus,
-       preinit:                pci_v3_preinit,
-       postinit:               pci_v3_postinit,
+       .swizzle                = integrator_swizzle,
+       .map_irq                = integrator_map_irq,
+       .setup                  = pci_v3_setup,
+       .nr_controllers         = 1,
+       .scan                   = pci_v3_scan_bus,
+       .preinit                = pci_v3_preinit,
+       .postinit               = pci_v3_postinit,
 };
 
 static int __init integrator_pci_init(void)
index c7bdfa94e0ce8a7f53dce3fccb6a0ebcb84b9f6a..772e3f64f5d296bd767bc71bdf093f6d94b6157b 100644 (file)
@@ -382,26 +382,26 @@ static int v3_write_config_dword(struct pci_dev *dev, int where, u32 val)
 }
 
 static struct pci_ops pci_v3_ops = {
-       read_byte:      v3_read_config_byte,
-       read_word:      v3_read_config_word,
-       read_dword:     v3_read_config_dword,
-       write_byte:     v3_write_config_byte,
-       write_word:     v3_write_config_word,
-       write_dword:    v3_write_config_dword,
+       .read_byte      = v3_read_config_byte,
+       .read_word      = v3_read_config_word,
+       .read_dword     = v3_read_config_dword,
+       .write_byte     = v3_write_config_byte,
+       .write_word     = v3_write_config_word,
+       .write_dword    = v3_write_config_dword,
 };
 
 static struct resource non_mem = {
-       name:   "PCI non-prefetchable",
-       start:  PHYS_PCI_MEM_BASE + PCI_BUS_NONMEM_START,
-       end:    PHYS_PCI_MEM_BASE + PCI_BUS_NONMEM_START + PCI_BUS_NONMEM_SIZE - 1,
-       flags:  IORESOURCE_MEM,
+       .name   = "PCI non-prefetchable",
+       .start  = PHYS_PCI_MEM_BASE + PCI_BUS_NONMEM_START,
+       .end    = PHYS_PCI_MEM_BASE + PCI_BUS_NONMEM_START + PCI_BUS_NONMEM_SIZE - 1,
+       .flags  = IORESOURCE_MEM,
 };
 
 static struct resource pre_mem = {
-       name:   "PCI prefetchable",
-       start:  PHYS_PCI_MEM_BASE + PCI_BUS_PREMEM_START,
-       end:    PHYS_PCI_MEM_BASE + PCI_BUS_PREMEM_START + PCI_BUS_PREMEM_SIZE - 1,
-       flags:  IORESOURCE_MEM | IORESOURCE_PREFETCH,
+       .name   = "PCI prefetchable",
+       .start  = PHYS_PCI_MEM_BASE + PCI_BUS_PREMEM_START,
+       .end    = PHYS_PCI_MEM_BASE + PCI_BUS_PREMEM_START + PCI_BUS_PREMEM_SIZE - 1,
+       .flags  = IORESOURCE_MEM | IORESOURCE_PREFETCH,
 };
 
 static int __init pci_v3_setup_resources(struct resource **resource)
index 4102d980fe7540a1567fc0b5c80140b71a97dd64..653482d1191af91695936d23b9b105b262343ad6 100644 (file)
@@ -58,9 +58,9 @@ static void iop310_irq_unmask (unsigned int irq)
 }
 
 struct irqchip ext_chip = {
-       ack:    iop310_irq_mask,
-       mask:   iop310_irq_mask,
-       unmask: iop310_irq_unmask,
+       .ack    = iop310_irq_mask,
+       .mask   = iop310_irq_mask,
+       .unmask = iop310_irq_unmask,
 };
 
 void
index 1e92040f79c9017671bb793472667c74171bb511..e9ff595590e7f5e366f591d675a4e1bf91f20f5b 100644 (file)
@@ -41,9 +41,9 @@ static void iq80310_irq_unmask(unsigned int irq)
 }
 
 static struct irqchip iq80310_irq_chip = {
-       ack:    iq80310_irq_mask,
-       mask:   iq80310_irq_mask,
-       unmask: iq80310_irq_unmask,
+       .ack    = iq80310_irq_mask,
+       .mask   = iq80310_irq_mask,
+       .unmask = iq80310_irq_unmask,
 };
 
 extern struct irqchip ext_chip;
index 462df2c098bdff174c87ad31d2a742d5ce66236e..198f3afcd48fc87ba1972d9f9ce05fd5dc9970a6 100644 (file)
@@ -147,11 +147,11 @@ static void iq80310_preinit(void)
 }
 
 static struct hw_pci iq80310_pci __initdata = {
-       swizzle:        pci_std_swizzle,
-       nr_controllers: 2,
-       setup:          iq80310_setup,
-       scan:           iop310_scan_bus,
-       preinit:        iq80310_preinit,
+       .swizzle        = pci_std_swizzle,
+       .nr_controllers = 2,
+       .setup          = iq80310_setup,
+       .scan           = iop310_scan_bus,
+       .preinit        = iq80310_preinit,
 };
 
 static int __init iq80310_pci_init(void)
index 290beb7263cea5104431c61b1021221d297d730d..a986a2346836b02f4d052c93fa6d3e4cb87b73d8 100644 (file)
@@ -119,8 +119,8 @@ static void iq80310_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
 extern unsigned long (*gettimeoffset)(void);
 
 static struct irqaction timer_irq = {
-       name:           "timer",
-       handler:        iq80310_timer_interrupt,
+       .name           = "timer",
+       .handler        = iq80310_timer_interrupt,
 };
 
 
index d7553298255942bedf0154c7408c122156a4c23f..2d3af7c6b02e1f1e9ec44eed51005104acd22455 100644 (file)
@@ -47,9 +47,9 @@ static void xs80200_irq_unmask (unsigned int irq)
 }
 
 static struct irqchip xs80200_chip = {
-       ack:    xs80200_irq_mask,
-       mask:   xs80200_irq_mask,
-       unmask: xs80200_irq_unmask,
+       .ack    = xs80200_irq_mask,
+       .mask   = xs80200_irq_mask,
+       .unmask = xs80200_irq_unmask,
 };
 
 void __init xs80200_init_irq(void)
index e8d33a696e2b89f8ca58a0f9ea4f643dd38dfd35..67fdf38f8e69619adc554e549d1eaa9a28252702 100644 (file)
@@ -40,9 +40,9 @@ static void pxa_unmask_irq(unsigned int irq)
 }
 
 static struct irqchip pxa_internal_chip = {
-       ack:            pxa_mask_irq,
-       mask:           pxa_mask_irq,
-       unmask:         pxa_unmask_irq,
+       .ack            = pxa_mask_irq,
+       .mask           = pxa_mask_irq,
+       .unmask         = pxa_unmask_irq,
 };
 
 /*
@@ -109,11 +109,11 @@ static void pxa_ack_low_gpio(unsigned int irq)
 }
 
 static struct irqchip pxa_low_gpio_chip = {
-       ack:            pxa_ack_low_gpio,
-       mask:           pxa_mask_irq,
-       unmask:         pxa_unmask_irq,
-       rerun:          pxa_manual_rerun,
-       type:           pxa_gpio_irq_type,
+       .ack            = pxa_ack_low_gpio,
+       .mask           = pxa_mask_irq,
+       .unmask         = pxa_unmask_irq,
+       .rerun          = pxa_manual_rerun,
+       .type           = pxa_gpio_irq_type,
 };
 
 /*
@@ -201,11 +201,11 @@ static void pxa_unmask_muxed_gpio(unsigned int irq)
 }
 
 static struct irqchip pxa_muxed_gpio_chip = {
-       ack:            pxa_ack_muxed_gpio,
-       mask:           pxa_mask_muxed_gpio,
-       unmask:         pxa_unmask_muxed_gpio,
-       rerun:          pxa_manual_rerun,
-       type:           pxa_gpio_irq_type,
+       .ack            = pxa_ack_muxed_gpio,
+       .mask           = pxa_mask_muxed_gpio,
+       .unmask         = pxa_unmask_muxed_gpio,
+       .rerun          = pxa_manual_rerun,
+       .type           = pxa_gpio_irq_type,
 };
 
 
index b9d742f7ba0ce983136a4b3bd6042b790a6dbfcf..c58183dc334dcbcbcd673b992d6a7b2a05177a0d 100644 (file)
@@ -54,9 +54,9 @@ static void lubbock_unmask_irq(unsigned int irq)
 }
 
 static struct irqchip lubbock_irq_chip = {
-       ack:            lubbock_ack_irq,
-       mask:           lubbock_mask_irq,
-       unmask:         lubbock_unmask_irq,
+       .ack            = lubbock_ack_irq,
+       .mask           = lubbock_mask_irq,
+       .unmask         = lubbock_unmask_irq,
 };
 
 void lubbock_irq_handler(unsigned int irq, struct irqdesc *desc,
index 6bd602e712e6322b04549e8106e7f1861e5b4029..e81acb7204634a08f224aafa7c534764b389593b 100644 (file)
@@ -216,16 +216,16 @@ static int iomd_set_dma_speed(dmach_t channel, dma_t *dma, int cycle)
 }
 
 static struct dma_ops iomd_dma_ops = {
-       type:           "IOMD",
-       request:        iomd_request_dma,
-       free:           iomd_free_dma,
-       enable:         iomd_enable_dma,
-       disable:        iomd_disable_dma,
-       setspeed:       iomd_set_dma_speed,
+       .type           = "IOMD",
+       .request        = iomd_request_dma,
+       .free           = iomd_free_dma,
+       .enable         = iomd_enable_dma,
+       .disable        = iomd_disable_dma,
+       .setspeed       = iomd_set_dma_speed,
 };
 
 static struct fiq_handler fh = {
-       name: "floppydma"
+       .name   = "floppydma"
 };
 
 static void floppy_enable_dma(dmach_t channel, dma_t *dma)
@@ -275,10 +275,10 @@ static int floppy_get_residue(dmach_t channel, dma_t *dma)
 }
 
 static struct dma_ops floppy_dma_ops = {
-       type:           "FIQDMA",
-       enable:         floppy_enable_dma,
-       disable:        floppy_disable_dma,
-       residue:        floppy_get_residue,
+       .type           = "FIQDMA",
+       .enable         = floppy_enable_dma,
+       .disable        = floppy_disable_dma,
+       .residue        = floppy_get_residue,
 };
 
 /*
@@ -289,9 +289,9 @@ static void sound_enable_disable_dma(dmach_t channel, dma_t *dma)
 }
 
 static struct dma_ops sound_dma_ops = {
-       type:           "VIRTUAL",
-       enable:         sound_enable_disable_dma,
-       disable:        sound_enable_disable_dma,
+       .type           = "VIRTUAL",
+       .enable         = sound_enable_disable_dma,
+       .disable        = sound_enable_disable_dma,
 };
 
 void __init arch_dma_init(dma_t *dma)
index 5deb068f670a07c7d9ba8d173d96fe7a1e5d3400..4c137511f01dc977e12871e82b81e86bcf480b10 100644 (file)
@@ -34,9 +34,9 @@ static void iomd_unmask_irq_a(unsigned int irq)
 }
 
 static struct irqchip iomd_a_chip = {
-       ack:    iomd_ack_irq_a,
-       mask:   iomd_mask_irq_a,
-       unmask: iomd_unmask_irq_a,
+       .ack    = iomd_ack_irq_a,
+       .mask   = iomd_mask_irq_a,
+       .unmask = iomd_unmask_irq_a,
 };
 
 static void iomd_mask_irq_b(unsigned int irq)
@@ -58,9 +58,9 @@ static void iomd_unmask_irq_b(unsigned int irq)
 }
 
 static struct irqchip iomd_b_chip = {
-       ack:    iomd_mask_irq_b,
-       mask:   iomd_mask_irq_b,
-       unmask: iomd_unmask_irq_b,
+       .ack    = iomd_mask_irq_b,
+       .mask   = iomd_mask_irq_b,
+       .unmask = iomd_unmask_irq_b,
 };
 
 static void iomd_mask_irq_dma(unsigned int irq)
@@ -82,9 +82,9 @@ static void iomd_unmask_irq_dma(unsigned int irq)
 }
 
 static struct irqchip iomd_dma_chip = {
-       ack:    iomd_mask_irq_dma,
-       mask:   iomd_mask_irq_dma,
-       unmask: iomd_unmask_irq_dma,
+       .ack    = iomd_mask_irq_dma,
+       .mask   = iomd_mask_irq_dma,
+       .unmask = iomd_unmask_irq_dma,
 };
 
 static void iomd_mask_irq_fiq(unsigned int irq)
@@ -106,9 +106,9 @@ static void iomd_unmask_irq_fiq(unsigned int irq)
 }
 
 static struct irqchip iomd_fiq_chip = {
-       ack:    iomd_mask_irq_fiq,
-       mask:   iomd_mask_irq_fiq,
-       unmask: iomd_unmask_irq_fiq,
+       .ack    = iomd_mask_irq_fiq,
+       .mask   = iomd_mask_irq_fiq,
+       .unmask = iomd_unmask_irq_fiq,
 };
 
 void __init rpc_init_irq(void)
index 30e401122666e109ce124b31be90c2151d37a900..806b0b377f26d5735a54024fa7e8bad23e5a601b 100644 (file)
@@ -100,7 +100,7 @@ static int adsbitsy_uart_open(struct uart_port *port, struct uart_info *info)
 }
 
 static struct sa1100_port_fns adsbitsy_port_fns __initdata = {
-       open:   adsbitsy_uart_open,
+       .open   = adsbitsy_uart_open,
 };
 
 static void __init adsbitsy_map_io(void)
index 124a2ea93a4871cdf0c5de8c12a985433529b9db..88c300b89c789859d74a2e49f0ff58b4af64e46b 100644 (file)
@@ -254,9 +254,9 @@ static u_int assabet_get_mctrl(struct uart_port *port)
 }
 
 static struct sa1100_port_fns assabet_port_fns __initdata = {
-       set_mctrl:      assabet_set_mctrl,
-       get_mctrl:      assabet_get_mctrl,
-       pm:             assabet_uart_pm,
+       .set_mctrl      = assabet_set_mctrl,
+       .get_mctrl      = assabet_get_mctrl,
+       .pm             = assabet_uart_pm,
 };
 
 static struct map_desc assabet_io_desc[] __initdata = {
index 1d2805f856964247ac606ef44830e4a4045c3c84..a6a694acda82266d3d6d4164bfec64863a5f4926 100644 (file)
@@ -216,7 +216,7 @@ static int sa1100_dram_notifier(struct notifier_block *nb,
 
 
 static struct notifier_block sa1100_dram_block = {
-       notifier_call: sa1100_dram_notifier,
+       .notifier_call  = sa1100_dram_notifier,
 };
 
 
index e4e2c1b22adcaebc3d00bee330bf8acd11e0a939..ba191ff751d1ffdd5fbd653cbcd633602df9327e 100644 (file)
@@ -51,53 +51,53 @@ struct sdram_info {
 };
 
 static struct sdram_params tc59sm716_cl2_params __initdata = {
-       rows:               12,
-       tck:                10,
-       trcd:               20,
-       trp:                20,
-       twr:                10,
-       refresh:         64000,
-       cas_latency:         2,
+       .rows                   = 12,
+       .tck                    = 10,
+       .trcd                   = 20,
+       .trp                    = 20,
+       .twr                    = 10,
+       .refresh                = 64000,
+       .cas_latency            = 2,
 };
 
 static struct sdram_params tc59sm716_cl3_params __initdata = {
-       rows:               12,
-       tck:                 8,
-       trcd:               20,
-       trp:                20,
-       twr:                 8,
-       refresh:         64000,
-       cas_latency:         3,
+       .rows                   = 12,
+       .tck                    = 8,
+       .trcd                   = 20,
+       .trp                    = 20,
+       .twr                    = 8,
+       .refresh                = 64000,
+       .cas_latency            = 3,
 };
 
 static struct sdram_params samsung_k4s641632d_tc75 __initdata = {
-       rows:               14,
-       tck:                 9,
-       trcd:               27,
-       trp:                20,
-       twr:                 9,
-       refresh:         64000,
-       cas_latency:         3,
+       .rows                   = 14,
+       .tck                    = 9,
+       .trcd                   = 27,
+       .trp                    = 20,
+       .twr                    = 9,
+       .refresh                = 64000,
+       .cas_latency            = 3,
 };
 
 static struct sdram_params samsung_km416s4030ct __initdata = {
-       rows:               13,
-       tck:                 8,
-       trcd:               24, /* 3 CLKs */
-       trp:                24, /* 3 CLKs */
-       twr:                16, /* Trdl: 2 CLKs */
-       refresh:         64000,
-       cas_latency:         3,
+       .rows                   = 13,
+       .tck                    = 8,
+       .trcd                   = 24,   /* 3 CLKs */
+       .trp                    = 24,   /* 3 CLKs */
+       .twr                    = 16,   /* Trdl: 2 CLKs */
+       .refresh                = 64000,
+       .cas_latency            = 3,
 };
 
 static struct sdram_params wbond_w982516ah75l_cl3_params __initdata = {
-       rows:               16,
-       tck:                 8,
-       trcd:               20,
-       trp:                20,
-       twr:                 8,
-       refresh:         64000,
-       cas_latency:         3,
+       .rows                   = 16,
+       .tck                    = 8,
+       .trcd                   = 20,
+       .trp                    = 20,
+       .twr                    = 8,
+       .refresh                = 64000,
+       .cas_latency            = 3,
 };
 
 static struct sdram_params sdram_params;
index 972342283ed8b539eea1d924c22ab70d955b6ce3..9c69428bb04809f945efca3a5b2b0b5b676817a3 100644 (file)
@@ -67,9 +67,9 @@ static void gc_unmask_irq1(unsigned int irq)
 }
 
 static struct irqchip gc_irq1_chip = {
-       ack:    gc_mask_irq1,
-       mask:   gc_mask_irq1,
-       unmask: gc_unmask_irq1,
+       .ack    = gc_mask_irq1,
+       .mask   = gc_mask_irq1,
+       .unmask = gc_unmask_irq1,
 };
 
 static void gc_mask_irq2(unsigned int irq)
@@ -85,9 +85,9 @@ static void gc_unmask_irq2(unsigned int irq)
 }
 
 static struct irqchip gc_irq2_chip = {
-       ack:    gc_mask_irq2,
-       mask:   gc_mask_irq2,
-       unmask: gc_unmask_irq2,
+       .ack    = gc_mask_irq2,
+       .mask   = gc_mask_irq2,
+       .unmask = gc_unmask_irq2,
 };
 
 static void __init graphicsclient_init_irq(void)
@@ -178,9 +178,9 @@ graphicsclient_uart_pm(struct uart_port *port, u_int state, u_int oldstate)
 }
 
 static struct sa1100_port_fns graphicsclient_port_fns __initdata = {
-       get_mctrl:      graphicsclient_get_mctrl,
-       set_mctrl:      graphicsclient_set_mctrl,
-       pm:             graphicsclient_uart_pm,
+       .get_mctrl      = graphicsclient_get_mctrl,
+       .set_mctrl      = graphicsclient_set_mctrl,
+       .pm             = graphicsclient_uart_pm,
 };
 
 static void __init graphicsclient_map_io(void)
index ed144191fa1cfc34347ade6d42439bf509cc52b7..d76945222defddc7fc02a8c37949ed597cca71f3 100644 (file)
@@ -100,9 +100,9 @@ static void gm_unmask_irq1(unsigned int irq)
 }
 
 static struct irqchip gm_irq1_chip = {
-       ack:    gm_mask_irq1,
-       mask:   gm_mask_irq1,
-       unmask: gm_unmask_irq1,
+       .ack    = gm_mask_irq1,
+       .mask   = gm_mask_irq1,
+       .unmask = gm_unmask_irq1,
 };
 
 static void gm_mask_irq2(unsigned int irq)
@@ -118,9 +118,9 @@ static void gm_unmask_irq2(unsigned int irq)
 }
 
 static struct irqchip gm_irq2_chip = {
-       ack:    gm_mask_irq2,
-       mask:   gm_mask_irq2,
-       unmask: gm_unmask_irq2,
+       .ack    = gm_mask_irq2,
+       .mask   = gm_mask_irq2,
+       .unmask = gm_unmask_irq2,
 };
 
 static void __init graphicsmaster_init_irq(void)
@@ -236,9 +236,9 @@ graphicsmaster_uart_pm(struct uart_port *port, u_int state, u_int oldstate)
 }
 
 static struct sa1100_port_fns graphicsmaster_port_fns __initdata = {
-       get_mctrl:      graphicsmaster_get_mctrl,
-       set_mctrl:      graphicsmaster_set_mctrl,
-       pm:             graphicsmaster_uart_pm,
+       .get_mctrl      = graphicsmaster_get_mctrl,
+       .set_mctrl      = graphicsmaster_set_mctrl,
+       .pm             = graphicsmaster_uart_pm,
 };
 
 static void __init graphicsmaster_map_io(void)
index 000125e4f95aca51634fd3681bcbbe8b4613781b..e944e2eda5dd386a086d9a7c8fbca75d78a87be4 100644 (file)
@@ -428,10 +428,10 @@ static int h3600_uart_set_wake(struct uart_port *port, u_int enable)
 }
 
 static struct sa1100_port_fns h3600_port_fns __initdata = {
-       set_mctrl:      h3600_uart_set_mctrl,
-       get_mctrl:      h3600_uart_get_mctrl,
-       pm:             h3600_uart_pm,
-       set_wake:       h3600_uart_set_wake,
+       .set_mctrl      = h3600_uart_set_mctrl,
+       .get_mctrl      = h3600_uart_get_mctrl,
+       .pm             = h3600_uart_pm,
+       .set_wake       = h3600_uart_set_wake,
 };
 
 static struct map_desc h3600_io_desc[] __initdata = {
index b2766dd7351a70bbc04127d5b327c3bb6984f41b..c0440f8c8c37d069b895610a49ac41036d761623 100644 (file)
@@ -95,11 +95,11 @@ static void sa1100_low_gpio_unmask(unsigned int irq)
 }
 
 static struct irqchip sa1100_low_gpio_chip = {
-       ack:            sa1100_low_gpio_ack,
-       mask:           sa1100_low_gpio_mask,
-       unmask:         sa1100_low_gpio_unmask,
-       rerun:          sa1100_manual_rerun,
-       type:           sa1100_gpio_type,
+       .ack            = sa1100_low_gpio_ack,
+       .mask           = sa1100_low_gpio_mask,
+       .unmask         = sa1100_low_gpio_unmask,
+       .rerun          = sa1100_manual_rerun,
+       .type           = sa1100_gpio_type,
 };
 
 /*
@@ -169,11 +169,11 @@ static void sa1100_high_gpio_unmask(unsigned int irq)
 }
 
 static struct irqchip sa1100_high_gpio_chip = {
-       ack:            sa1100_high_gpio_ack,
-       mask:           sa1100_high_gpio_mask,
-       unmask:         sa1100_high_gpio_unmask,
-       rerun:          sa1100_manual_rerun,
-       type:           sa1100_gpio_type,
+       .ack            = sa1100_high_gpio_ack,
+       .mask           = sa1100_high_gpio_mask,
+       .unmask         = sa1100_high_gpio_unmask,
+       .rerun          = sa1100_manual_rerun,
+       .type           = sa1100_gpio_type,
 };
 
 /*
@@ -191,16 +191,16 @@ static void sa1100_unmask_irq(unsigned int irq)
 }
 
 static struct irqchip sa1100_normal_chip = {
-       ack:            sa1100_mask_irq,
-       mask:           sa1100_mask_irq,
-       unmask:         sa1100_unmask_irq,
+       .ack            = sa1100_mask_irq,
+       .mask           = sa1100_mask_irq,
+       .unmask         = sa1100_unmask_irq,
        /* rerun should never be called */
 };
 
 static struct resource irq_resource = {
-       name:   "irqs",
-       start:  0x90050000,
-       end:    0x9005ffff,
+       .name   = "irqs",
+       .start  = 0x90050000,
+       .end    = 0x9005ffff,
 };
 
 void __init sa1100_init_irq(void)
index a731a2680d84931567af14f6ad13eccc3eb6cd94..71e315140ddcdb36835359272c8d2d1f7a86fe49 100644 (file)
@@ -26,8 +26,8 @@
 #include "sa1111.h"
 
 static struct device neponset_device = {
-       name:   "Neponset",
-       bus_id: "nep_bus",
+       .name   = "Neponset",
+       .bus_id = "nep_bus",
 };
 
 /*
@@ -159,8 +159,8 @@ static u_int neponset_get_mctrl(struct uart_port *port)
 }
 
 static struct sa1100_port_fns neponset_port_fns __initdata = {
-       set_mctrl:      neponset_set_mctrl,
-       get_mctrl:      neponset_get_mctrl,
+       .set_mctrl      = neponset_set_mctrl,
+       .get_mctrl      = neponset_get_mctrl,
 };
 
 static int __init neponset_init(void)
index 90f62e5fffeed481169a8b7c7ef46dc92ddb5038..244dfdc35c591785d94c3eb6544e652bc374944b 100644 (file)
@@ -133,11 +133,11 @@ static int sa1111_type_lowirq(unsigned int irq, unsigned int flags)
 }
 
 static struct irqchip sa1111_low_chip = {
-       ack:            sa1111_ack_lowirq,
-       mask:           sa1111_mask_lowirq,
-       unmask:         sa1111_unmask_lowirq,
-       rerun:          sa1111_rerun_lowirq,
-       type:           sa1111_type_lowirq,
+       .ack            = sa1111_ack_lowirq,
+       .mask           = sa1111_mask_lowirq,
+       .unmask         = sa1111_unmask_lowirq,
+       .rerun          = sa1111_rerun_lowirq,
+       .type           = sa1111_type_lowirq,
 };
 
 static void sa1111_ack_highirq(unsigned int irq)
@@ -198,11 +198,11 @@ static int sa1111_type_highirq(unsigned int irq, unsigned int flags)
 }
 
 static struct irqchip sa1111_high_chip = {
-       ack:            sa1111_ack_highirq,
-       mask:           sa1111_mask_highirq,
-       unmask:         sa1111_unmask_highirq,
-       rerun:          sa1111_rerun_highirq,
-       type:           sa1111_type_highirq,
+       .ack            = sa1111_ack_highirq,
+       .mask           = sa1111_mask_highirq,
+       .unmask         = sa1111_unmask_highirq,
+       .rerun          = sa1111_rerun_highirq,
+       .type           = sa1111_type_highirq,
 };
 
 static void __init sa1111_init_irq(int irq_nr)
@@ -257,8 +257,8 @@ static int sa1111_resume(struct device *dev, u32 level)
 }
 
 static struct device_driver sa1111_device_driver = {
-       suspend:        sa1111_suspend,
-       resume:         sa1111_resume,
+       .suspend        = sa1111_suspend,
+       .resume         = sa1111_resume,
 };
 
 /**
index 4ae4c02e2ac8d71d1391c8421b6eee9dc8e2511f..41bc131103b92adec1476cf860444b70de2ae27d 100644 (file)
@@ -57,7 +57,7 @@ static void simpad_uart_pm(struct uart_port *port, u_int state, u_int oldstate)
 }
 
 static struct sa1100_port_fns simpad_port_fns __initdata = {
-       pm:     simpad_uart_pm,
+       .pm     = simpad_uart_pm,
 };
 
 static void __init simpad_map_io(void)
index 67588f3e407d66e550bce8f49f993884827add04..685ca88d63041e3aa855439a4ee060e226df23e5 100644 (file)
@@ -100,13 +100,13 @@ static struct map_desc system3_io_desc[] __initdata = {
 };
 
 static struct sa1100_port_fns system3_port_fns __initdata = {
-       set_mctrl:      system3_set_mctrl,
-       get_mctrl:      system3_get_mctrl,
-       pm:             system3_uart_pm,
+       .set_mctrl      = system3_set_mctrl,
+       .get_mctrl      = system3_get_mctrl,
+       .pm             = system3_uart_pm,
 };
 
 static struct notifier_block system3_clkchg_block = {
-       notifier_call:  sdram_notifier,
+       .notifier_call  = sdram_notifier,
 };
 
 /**********************************************************************
index c4831dfb8fc2efba836abccb7c3128e4bd67bf14..fb8e6b3c5838bf194a70455ad26f3eb2c3fbeffd 100644 (file)
@@ -69,9 +69,9 @@ static void bogus_int(int irq, void *dev_id, struct pt_regs *regs)
 static struct irqaction cascade;
 
 static struct irqchip fb_chip = {
-       ack:    shark_ack_8259A_irq,
-       mask:   shark_disable_8259A_irq,
-       unmask: shark_enable_8259A_irq,
+       .ack    = shark_ack_8259A_irq,
+       .mask   = shark_disable_8259A_irq,
+       .unmask = shark_enable_8259A_irq,
 };
 
 void __init shark_init_irq(void)
index 809dfc1643e6940d68b4bd067e32aa1f618b3d94..05e992d354e2961e26329d37923412dc79cd7d1f 100644 (file)
@@ -24,12 +24,12 @@ static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 extern void __init via82c505_preinit(void *sysdata);
 
 static struct hw_pci shark_pci __initdata = {
-       setup:          via82c505_setup,
-       swizzle:        pci_std_swizzle,
-       map_irq:        shark_map_irq,
-       nr_controllers: 1,
-       scan:           via82c505_scan_bus,
-       preinit:        via82c505_preinit
+       .setup          = via82c505_setup,
+       .swizzle        = pci_std_swizzle,
+       .map_irq        = shark_map_irq,
+       .nr_controllers = 1,
+       .scan           = via82c505_scan_bus,
+       .preinit        = via82c505_preinit
 };
 
 static int __init shark_pci_init(void)
index 0174e6880c67ffd90f2711c2363cbe9053c5845e..9fcced8813c0708cdd6f42ded1b3c56bfcb3960b 100644 (file)
@@ -379,21 +379,21 @@ static void do_fd_request(request_queue_t *);
 /************************* End of Prototypes **************************/
 
 static struct timer_list motor_off_timer = {
-       function:       fd_motor_off_timer,
+       .function       = fd_motor_off_timer,
 };
 
 #ifdef TRACKBUFFER
 static struct timer_list readtrack_timer = {
-       function:       fd_readtrack_check,
+       .function       = fd_readtrack_check,
 };
 #endif
 
 static struct timer_list timeout_timer = {
-       function:       fd_times_out,
+       .function       = fd_times_out,
 };
 
 static struct timer_list fd_timer = {
-       function:       check_change,
+       .function       = check_change,
 };
 
 /* DAG: Haven't got a clue what this is? */
@@ -1548,11 +1548,11 @@ static int floppy_release(struct inode *inode, struct file *filp)
 
 static struct block_device_operations floppy_fops =
 {
-       open:                   floppy_open,
-       release:                floppy_release,
-       ioctl:                  fd_ioctl,
-       check_media_change:     check_floppy_change,
-       revalidate:             floppy_revalidate,
+       .open                   = floppy_open,
+       .release                = floppy_release,
+       .ioctl                  = fd_ioctl,
+       .check_media_change     = check_floppy_change,
+       .revalidate             = floppy_revalidate,
 };
 
 
index d29f53874d08e7c12eb3e598a09c5e4babd9daee..b10e63baf83a87bbbf5d7fa2d3a1137744586a58 100644 (file)
@@ -1255,25 +1255,25 @@ void xd_set_geometry(struct block_device *bdev, unsigned char secsptrack,
 
 static struct gendisk mfm_gendisk[2] = {
 {
-       major:          MAJOR_NR,
-       first_minor:    0,
-       major_name:     "mfm",
-       minor_shift:    6,
-       part:           mfm,
+       .major          = MAJOR_NR,
+       .first_minor    = 0,
+       .major_name     = "mfm",
+       .minor_shift    = 6,
+       .part           = mfm,
 },
 {
-       major:          MAJOR_NR,
-       first_minor:    64,
-       major_name:     "mfm",
-       minor_shift:    6,
-       part:           mfm + 64,
+       .major          = MAJOR_NR,
+       .first_minor    = 64,
+       .major_name     = "mfm",
+       .minor_shift    = 6,
+       .part           = mfm + 64,
 };
 
 static struct block_device_operations mfm_fops =
 {
-       owner:          THIS_MODULE,
-       open:           mfm_open,
-       ioctl:          mfm_ioctl,
+       .owner          = THIS_MODULE,
+       .open           = mfm_open,
+       .ioctl          = mfm_ioctl,
 };
 
 static void mfm_geninit (void)
index 040a1606845debf75adb52ce6ed73dd851e4438f..e01e017dfcbebc6f521528ad53a12237c18ca539 100644 (file)
@@ -200,13 +200,13 @@ static int rtc_ioctl(struct inode *inode, struct file *file,
 }
 
 static struct file_operations rtc_fops = {
-       ioctl:  rtc_ioctl,
+       .ioctl  = rtc_ioctl,
 };
 
 static struct miscdevice rtc_dev = {
-       minor:  RTC_MINOR,
-       name:   "rtc",
-       fops:   &rtc_fops,
+       .minor  = RTC_MINOR,
+       .name   = "rtc",
+       .fops   = &rtc_fops,
 };
 
 /* IOC / IOMD i2c driver */
@@ -264,13 +264,13 @@ static int ioc_getsda(void *data)
 }
 
 static struct i2c_algo_bit_data ioc_data = {
-       setsda:         ioc_setsda,
-       setscl:         ioc_setscl,
-       getsda:         ioc_getsda,
-       getscl:         ioc_getscl,
-       udelay:          80,
-       mdelay:          80,
-       timeout:        100
+       .setsda         = ioc_setsda,
+       .setscl         = ioc_setscl,
+       .getsda         = ioc_getsda,
+       .getscl         = ioc_getscl,
+       .udelay         = 80,
+       .mdelay         = 80,
+       .timeout        = 100
 };
 
 static int ioc_client_reg(struct i2c_client *client)
@@ -303,11 +303,11 @@ static int ioc_client_unreg(struct i2c_client *client)
 }
 
 static struct i2c_adapter ioc_ops = {
-       name:                   "IOC/IOMD",
-       id:                     I2C_HW_B_IOC,
-       algo_data:              &ioc_data,
-       client_register:        ioc_client_reg,
-       client_unregister:      ioc_client_unreg
+       .name                   = "IOC/IOMD",
+       .id                     = I2C_HW_B_IOC,
+       .algo_data              = &ioc_data,
+       .client_register        = ioc_client_reg,
+       .client_unregister      = ioc_client_unreg
 };
 
 static int __init i2c_ioc_init(void)
index 0b00b556ff1f263d70fdb76877580bbdc4cdf612..b1990f9de4ec0e063d84d1f0fbf1306832ef2c97 100644 (file)
@@ -250,12 +250,12 @@ static unsigned int aux_poll(struct file *file, poll_table * wait)
 }
 
 struct file_operations psaux_fops = {
-       read:           read_aux,
-       write:          write_aux,
-       poll:           aux_poll,
-       open:           open_aux,
-       release:        release_aux,
-       fasync:         fasync_aux,
+       .read           = read_aux,
+       .write          = write_aux,
+       .poll           = aux_poll,
+       .open           = open_aux,
+       .release        = release_aux,
+       .fasync         = fasync_aux,
 };
 
 /*
index 1b8d0ead67f1cbdfc4ca5fc33a089d57ce19ae85..c031fc62f8f4a7c69f7af4187c96553efdd73087 100644 (file)
@@ -23,13 +23,13 @@ static unsigned short ignore[] = { I2C_CLIENT_END };
 static unsigned short normal_addr[] = { 0x50, I2C_CLIENT_END };
 
 static struct i2c_client_address_data addr_data = {
-       normal_i2c:             normal_addr,
-       normal_i2c_range:       ignore,
-       probe:                  ignore,
-       probe_range:            ignore,
-       ignore:                 ignore,
-       ignore_range:           ignore,
-       force:                  ignore,
+       .normal_i2c             = normal_addr,
+       .normal_i2c_range       = ignore,
+       .probe                  = ignore,
+       .probe_range            = ignore,
+       .ignore                 = ignore,
+       .ignore_range           = ignore,
+       .force                  = ignore,
 };
 
 #define DAT(x) ((unsigned int)(x->data))
@@ -224,12 +224,12 @@ pcf8583_command(struct i2c_client *client, unsigned int cmd, void *arg)
 }
 
 static struct i2c_driver pcf8583_driver = {
-       name:           "PCF8583",
-       id:             I2C_DRIVERID_PCF8583,
-       flags:          I2C_DF_NOTIFY,
-       attach_adapter: pcf8583_probe,
-       detach_client:  pcf8583_detach,
-       command:        pcf8583_command
+       .name           = "PCF8583",
+       .id             = I2C_DRIVERID_PCF8583,
+       .flags          = I2C_DF_NOTIFY,
+       .attach_adapter = pcf8583_probe,
+       .detach_client  = pcf8583_detach,
+       .command        = pcf8583_command
 };
 
 static __init int pcf8583_init(void)
index 68e3d62fd3267a04b319559630421e8030c9e469..a9bc06b93e0f48fd02863b0518e6765df535b803 100644 (file)
@@ -141,8 +141,8 @@ static void etherh_irq_disable(ecard_t *ec, int irqnr)
 }
 
 static expansioncard_ops_t etherh_ops = {
-       irqenable:      etherh_irq_enable,
-       irqdisable:     etherh_irq_disable,
+       .irqenable      = etherh_irq_enable,
+       .irqdisable     = etherh_irq_disable,
 };
 
 
index 3d087d32b75de91d8e5f3880fe091031c55abf92..d6046c444312a08c0e5d4f510ad1497363642248 100644 (file)
@@ -3120,22 +3120,22 @@ int acornscsi_proc_info(char *buffer, char **start, off_t offset,
 }
 
 static Scsi_Host_Template acornscsi_template = {
-       module:                 THIS_MODULE,
-       proc_info:              acornscsi_proc_info,
-       name:                   "AcornSCSI",
-       detect:                 acornscsi_detect,
-       release:                acornscsi_release,
-       info:                   acornscsi_info,
-       queuecommand:           acornscsi_queuecmd,
-       abort:                  acornscsi_abort,
-       reset:                  acornscsi_reset,
-       bios_param:             scsicam_bios_param,
-       can_queue:              16,
-       this_id:                7,
-       sg_tablesize:           SG_ALL,
-       cmd_per_lun:            2,
-       unchecked_isa_dma:      0,
-       use_clustering:         DISABLE_CLUSTERING
+       .module                 = THIS_MODULE,
+       .proc_info              = acornscsi_proc_info,
+       .name                   = "AcornSCSI",
+       .detect                 = acornscsi_detect,
+       .release                = acornscsi_release,
+       .info                   = acornscsi_info,
+       .queuecommand           = acornscsi_queuecmd,
+       .abort                  = acornscsi_abort,
+       .reset                  = acornscsi_reset,
+       .bios_param             = scsicam_bios_param,
+       .can_queue              = 16,
+       .this_id                = 7,
+       .sg_tablesize           = SG_ALL,
+       .cmd_per_lun            = 2,
+       .unchecked_isa_dma      = 0,
+       .use_clustering         = DISABLE_CLUSTERING
 };
 
 static int __init acornscsi_init(void)
index 01f2ac25bd6d1bfa418d44592e213227df44215e..2d3e2f61af9d9adbc15323d0c0071c954d214606 100644 (file)
@@ -389,21 +389,21 @@ static void cumanascsi_write(struct Scsi_Host *instance, int reg, int value)
 #include "../../scsi/NCR5380.c"
 
 static Scsi_Host_Template cumanascsi_template = {
-       module:                 THIS_MODULE,
-       name:                   "Cumana 16-bit SCSI",
-       detect:                 cumanascsi_detect,
-       release:                cumanascsi_release,
-       info:                   cumanascsi_info,
-       queuecommand:           cumanascsi_queue_command,
-       abort:                  cumanascsi_abort,
-       reset:                  cumanascsi_reset,
-       bios_param:             scsicam_bios_param,
-       can_queue:              16,
-       this_id:                7,
-       sg_tablesize:           SG_ALL,
-       cmd_per_lun:            2,
-       unchecked_isa_dma:      0,
-       use_clustering:         DISABLE_CLUSTERING
+       .module                 = THIS_MODULE,
+       .name                   = "Cumana 16-bit SCSI",
+       .detect                 = cumanascsi_detect,
+       .release                = cumanascsi_release,
+       .info                   = cumanascsi_info,
+       .queuecommand           = cumanascsi_queue_command,
+       .abort                  = cumanascsi_abort,
+       .reset                  = cumanascsi_reset,
+       .bios_param             = scsicam_bios_param,
+       .can_queue              = 16,
+       .this_id                = 7,
+       .sg_tablesize           = SG_ALL,
+       .cmd_per_lun            = 2,
+       .unchecked_isa_dma      = 0,
+       .use_clustering         = DISABLE_CLUSTERING
 };
 
 static int __init cumanascsi_init(void)
index 9404ee0e20097f0be4a2abb7781fc1240c71a7d1..15dd45c3871fd82959a2b7b84e05aad40c9d6e04 100644 (file)
@@ -557,24 +557,24 @@ int cumanascsi_2_proc_info (char *buffer, char **start, off_t offset,
 }
 
 static Scsi_Host_Template cumanascsi2_template = {
-       module:                         THIS_MODULE,
-       proc_info:                      cumanascsi_2_proc_info,
-       name:                           "Cumana SCSI II",
-       detect:                         cumanascsi_2_detect,
-       release:                        cumanascsi_2_release,
-       info:                           cumanascsi_2_info,
-       bios_param:                     scsicam_bios_param,
-       can_queue:                      1,
-       this_id:                        7,
-       sg_tablesize:                   SG_ALL,
-       cmd_per_lun:                    1,
-       use_clustering:                 DISABLE_CLUSTERING,
-       command:                        fas216_command,
-       queuecommand:                   fas216_queue_command,
-       eh_host_reset_handler:          fas216_eh_host_reset,
-       eh_bus_reset_handler:           fas216_eh_bus_reset,
-       eh_device_reset_handler:        fas216_eh_device_reset,
-       eh_abort_handler:               fas216_eh_abort,
+       .module                         = THIS_MODULE,
+       .proc_info                      = cumanascsi_2_proc_info,
+       .name                           = "Cumana SCSI II",
+       .detect                         = cumanascsi_2_detect,
+       .release                        = cumanascsi_2_release,
+       .info                           = cumanascsi_2_info,
+       .bios_param                     = scsicam_bios_param,
+       .can_queue                      = 1,
+       .this_id                        = 7,
+       .sg_tablesize                   = SG_ALL,
+       .cmd_per_lun                    = 1,
+       .use_clustering                 = DISABLE_CLUSTERING,
+       .command                        = fas216_command,
+       .queuecommand                   = fas216_queue_command,
+       .eh_host_reset_handler          = fas216_eh_host_reset,
+       .eh_bus_reset_handler           = fas216_eh_bus_reset,
+       .eh_device_reset_handler        = fas216_eh_device_reset,
+       .eh_abort_handler               = fas216_eh_abort,
 };
 
 static int __init cumanascsi2_init(void)
index 19422738c0e9e2a74c42b7a94fa81fd4eef8cc58..0bef0884cda84709c7b85bdac9a8a15f3d3a7448 100644 (file)
@@ -262,19 +262,19 @@ int NCR5380_proc_info(char *buffer, char **start, off_t offset,
 #include "../../scsi/NCR5380.c"
 
 static Scsi_Host_Template ecoscsi_template =  {
-       module:         THIS_MODULE,
-       name:           "Serial Port EcoSCSI NCR5380",
-       detect:         ecoscsi_detect,
-       release:        ecoscsi_release,
-       info:           ecoscsi_info,
-       queuecommand:   ecoscsi_queue_command,
-       abort:          ecoscsi_abort,
-       reset:          ecoscsi_reset,
-       can_queue:      16,
-       this_id:        7,
-       sg_tablesize:   SG_ALL,
-       cmd_per_lun:    2,
-       use_clustering: DISABLE_CLUSTERING
+       .module         = THIS_MODULE,
+       .name           = "Serial Port EcoSCSI NCR5380",
+       .detect         = ecoscsi_detect,
+       .release        = ecoscsi_release,
+       .info           = ecoscsi_info,
+       .queuecommand   = ecoscsi_queue_command,
+       .abort          = ecoscsi_abort,
+       .reset          = ecoscsi_reset,
+       .can_queue      = 16,
+       .this_id        = 7,
+       .sg_tablesize   = SG_ALL,
+       .cmd_per_lun    = 2,
+       .use_clustering = DISABLE_CLUSTERING
 };
 
 static int __init ecoscsi_init(void)
index 899d639b7837bfbcc24fa1f6717a5f02f0e8a3f2..d010d4430c23021331745344e34e3af1d06e0fc7 100644 (file)
@@ -554,24 +554,24 @@ int eesoxscsi_proc_info(char *buffer, char **start, off_t offset,
 }
 
 static Scsi_Host_Template eesox_template = {
-       module:                         THIS_MODULE,
-       proc_info:                      eesoxscsi_proc_info,
-       name:                           "EESOX SCSI",
-       detect:                         eesoxscsi_detect,
-       release:                        eesoxscsi_release,
-       info:                           eesoxscsi_info,
-       bios_param:                     scsicam_bios_param,
-       can_queue:                      1,
-       this_id:                        7,
-       sg_tablesize:                   SG_ALL,
-       cmd_per_lun:                    1,
-       use_clustering:                 DISABLE_CLUSTERING,
-       command:                        fas216_command,
-       queuecommand:                   fas216_queue_command,
-       eh_host_reset_handler:          fas216_eh_host_reset,
-       eh_bus_reset_handler:           fas216_eh_bus_reset,
-       eh_device_reset_handler:        fas216_eh_device_reset,
-       eh_abort_handler:               fas216_eh_abort,
+       .module                         = THIS_MODULE,
+       .proc_info                      = eesoxscsi_proc_info,
+       .name                           = "EESOX SCSI",
+       .detect                         = eesoxscsi_detect,
+       .release                        = eesoxscsi_release,
+       .info                           = eesoxscsi_info,
+       .bios_param                     = scsicam_bios_param,
+       .can_queue                      = 1,
+       .this_id                        = 7,
+       .sg_tablesize                   = SG_ALL,
+       .cmd_per_lun                    = 1,
+       .use_clustering                 = DISABLE_CLUSTERING,
+       .command                        = fas216_command,
+       .queuecommand                   = fas216_queue_command,
+       .eh_host_reset_handler          = fas216_eh_host_reset,
+       .eh_bus_reset_handler           = fas216_eh_bus_reset,
+       .eh_device_reset_handler        = fas216_eh_device_reset,
+       .eh_abort_handler               = fas216_eh_abort,
 };
 
 static int __init eesox_init(void)
index 494ce4048d2b661a250ac5d057bc6958f4edd07e..d6687b806fffde4754ab36798994e9e82406ddc3 100644 (file)
@@ -252,20 +252,20 @@ printk("reading %p len %d\n", addr, len);
 #include "../../scsi/NCR5380.c"
 
 static Scsi_Host_Template oakscsi_template = {
-       module:         THIS_MODULE,
-       proc_info:      oakscsi_proc_info,
-       name:           "Oak 16-bit SCSI",
-       detect:         oakscsi_detect,
-       release:        oakscsi_release,
-       info:           oakscsi_info,
-       queuecommand:   oakscsi_queue_command,
-       abort:          oakscsi_abort,
-       reset:          oakscsi_reset,
-       can_queue:      16,
-       this_id:        7,
-       sg_tablesize:   SG_ALL,
-       cmd_per_lun:    2,
-       use_clustering: DISABLE_CLUSTERING
+       .module         = THIS_MODULE,
+       .proc_info      = oakscsi_proc_info,
+       .name           = "Oak 16-bit SCSI",
+       .detect         = oakscsi_detect,
+       .release        = oakscsi_release,
+       .info           = oakscsi_info,
+       .queuecommand   = oakscsi_queue_command,
+       .abort          = oakscsi_abort,
+       .reset          = oakscsi_reset,
+       .can_queue      = 16,
+       .this_id        = 7,
+       .sg_tablesize   = SG_ALL,
+       .cmd_per_lun    = 2,
+       .use_clustering = DISABLE_CLUSTERING
 };
 
 static int __init oakscsi_init(void)
index 75f989b53e016aef3ef5bb04dc30aae13766c6a9..f5783217a5f8dad46c911e10c51ec00853757d31 100644 (file)
@@ -454,24 +454,24 @@ int powertecscsi_proc_info(char *buffer, char **start, off_t offset,
 }
 
 static Scsi_Host_Template powertecscsi_template = {
-       module:                         THIS_MODULE,
-       proc_info:                      powertecscsi_proc_info,
-       name:                           "PowerTec SCSI",
-       detect:                         powertecscsi_detect,
-       release:                        powertecscsi_release,
-       info:                           powertecscsi_info,
-       bios_param:                     scsicam_bios_param,
-       can_queue:                      1,
-       this_id:                        7,
-       sg_tablesize:                   SG_ALL,
-       cmd_per_lun:                    1,
-       use_clustering:                 ENABLE_CLUSTERING,
-       command:                        fas216_command,
-       queuecommand:                   fas216_queue_command,
-       eh_host_reset_handler:          fas216_eh_host_reset,
-       eh_bus_reset_handler:           fas216_eh_bus_reset,
-       eh_device_reset_handler:        fas216_eh_device_reset,
-       eh_abort_handler:               fas216_eh_abort,
+       .module                         = THIS_MODULE,
+       .proc_info                      = powertecscsi_proc_info,
+       .name                           = "PowerTec SCSI",
+       .detect                         = powertecscsi_detect,
+       .release                        = powertecscsi_release,
+       .info                           = powertecscsi_info,
+       .bios_param                     = scsicam_bios_param,
+       .can_queue                      = 1,
+       .this_id                        = 7,
+       .sg_tablesize                   = SG_ALL,
+       .cmd_per_lun                    = 1,
+       .use_clustering                 = ENABLE_CLUSTERING,
+       .command                        = fas216_command,
+       .queuecommand                   = fas216_queue_command,
+       .eh_host_reset_handler          = fas216_eh_host_reset,
+       .eh_bus_reset_handler           = fas216_eh_bus_reset,
+       .eh_device_reset_handler        = fas216_eh_device_reset,
+       .eh_abort_handler               = fas216_eh_abort,
 };
 
 static int __init powertecscsi_init(void)
index d9bbd31cfe90947b0ee9ca1c661261bb768dc7b3..753a2178f5de52795c7f7ad5856b369abc7602fe 100644 (file)
@@ -101,9 +101,9 @@ static unsigned int rates[] = {
 #define RATES sizeof(rates) / sizeof(rates[0])
 
 static snd_pcm_hw_constraint_list_t hw_constraints_rates = {
-       count: RATES,
-       list: rates,
-       mask: 0,
+       .count  = RATES,
+       .list   = rates,
+       .mask   = 0,
 };
 
 /* }}} */
@@ -545,46 +545,46 @@ static int snd_card_sa11xx_uda1341_pcm_trigger(stream_id_t stream_id,
 
 static snd_pcm_hardware_t snd_sa11xx_uda1341_capture =
 {
-       info:                   (SNDRV_PCM_INFO_INTERLEAVED |
-                                SNDRV_PCM_INFO_BLOCK_TRANSFER |
-                                SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID),
-       formats:                SNDRV_PCM_FMTBIT_S16_LE,
-       rates:                  (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
-                                SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |\
-                                SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
-                                SNDRV_PCM_RATE_KNOT),
-       rate_min:               8000,
-       rate_max:               48000,
-       channels_min:           2,
-       channels_max:           2,
-       buffer_bytes_max:       16380,
-       period_bytes_min:       64,
-       period_bytes_max:       8190, /* <= MAX_DMA_SIZE from ams/arch-sa1100/dma.h */
-       periods_min:            2,
-       periods_max:            255,
-       fifo_size:              0,
+       .info                   = (SNDRV_PCM_INFO_INTERLEAVED |
+                                  SNDRV_PCM_INFO_BLOCK_TRANSFER |
+                                  SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID),
+       .formats                = SNDRV_PCM_FMTBIT_S16_LE,
+       .rates                  = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
+                                  SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |\
+                                  SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
+                                  SNDRV_PCM_RATE_KNOT),
+       .rate_min               = 8000,
+       .rate_max               = 48000,
+       .channels_min:          = 2,
+       .channels_max:          = 2,
+       .buffer_bytes_max:      = 16380,
+       .period_bytes_min:      = 64,
+       .period_bytes_max:      = 8190, /* <= MAX_DMA_SIZE from ams/arch-sa1100/dma.h */
+       .periods_min            = 2,
+       .periods_max            = 255,
+       .fifo_size              = 0,
 };
 
 static snd_pcm_hardware_t snd_sa11xx_uda1341_playback =
 {
-       info:                   (SNDRV_PCM_INFO_INTERLEAVED |
-                                SNDRV_PCM_INFO_BLOCK_TRANSFER |
-                                SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID),
-       formats:                SNDRV_PCM_FMTBIT_S16_LE,
-       rates:                  (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
-                                 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |\
-                                SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
-                                SNDRV_PCM_RATE_KNOT),
-       rate_min:               8000,
-       rate_max:               48000,
-       channels_min:           2,
-       channels_max:           2,
-       buffer_bytes_max:       16380,
-       period_bytes_min:       64,
-       period_bytes_max:       8190, /* <= MAX_DMA_SIZE from ams/arch-sa1100/dma.h */
-       periods_min:            2,
-       periods_max:            255,
-       fifo_size:              0,
+       .info                   = (SNDRV_PCM_INFO_INTERLEAVED |
+                                  SNDRV_PCM_INFO_BLOCK_TRANSFER |
+                                  SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID),
+       .formats                = SNDRV_PCM_FMTBIT_S16_LE,
+       .rates                  = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\
+                                   SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |\
+                                  SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
+                                  SNDRV_PCM_RATE_KNOT),
+       .rate_min               = 8000,
+       .rate_max               = 48000,
+       .channels_min           = 2,
+       .channels_max           = 2,
+       .buffer_bytes_max       = 16380,
+       .period_bytes_min       = 64,
+       .period_bytes_max       = 8190, /* <= MAX_DMA_SIZE from ams/arch-sa1100/dma.h */
+       .periods_min            = 2,
+       .periods_max            = 255,
+       .fifo_size              = 0,
 };
 
 /* {{{ snd_card_sa11xx_uda1341_playback functions */
@@ -752,25 +752,25 @@ static int snd_sa11xx_uda1341_hw_free(snd_pcm_substream_t * substream)
 /* }}} */
 
 static snd_pcm_ops_t snd_card_sa11xx_uda1341_playback_ops = {
-       open:                   snd_card_sa11xx_uda1341_playback_open,
-       close:                  snd_card_sa11xx_uda1341_playback_close,
-       ioctl:                  snd_card_sa11xx_uda1341_playback_ioctl,
-       hw_params:              snd_sa11xx_uda1341_hw_params,
-       hw_free:                snd_sa11xx_uda1341_hw_free,
-       prepare:                snd_card_sa11xx_uda1341_playback_prepare,
-       trigger:                snd_card_sa11xx_uda1341_playback_trigger,
-       pointer:                snd_card_sa11xx_uda1341_playback_pointer,
+       .open                   = snd_card_sa11xx_uda1341_playback_open,
+       .close                  = snd_card_sa11xx_uda1341_playback_close,
+       .ioctl                  = snd_card_sa11xx_uda1341_playback_ioctl,
+       .hw_params              = snd_sa11xx_uda1341_hw_params,
+       .hw_free                = snd_sa11xx_uda1341_hw_free,
+       .prepare                = snd_card_sa11xx_uda1341_playback_prepare,
+       .trigger                = snd_card_sa11xx_uda1341_playback_trigger,
+       .pointer                = snd_card_sa11xx_uda1341_playback_pointer,
 };
 
 static snd_pcm_ops_t snd_card_sa11xx_uda1341_capture_ops = {
-       open:                   snd_card_sa11xx_uda1341_capture_open,
-       close:                  snd_card_sa11xx_uda1341_capture_close,
-       ioctl:                  snd_card_sa11xx_uda1341_capture_ioctl,
-       hw_params:              snd_sa11xx_uda1341_hw_params,
-       hw_free:                snd_sa11xx_uda1341_hw_free,
-       prepare:                snd_card_sa11xx_uda1341_capture_prepare,
-       trigger:                snd_card_sa11xx_uda1341_capture_trigger,
-       pointer:                snd_card_sa11xx_uda1341_capture_pointer,
+       .open                   = snd_card_sa11xx_uda1341_capture_open,
+       .close                  = snd_card_sa11xx_uda1341_capture_close,
+       .ioctl                  = snd_card_sa11xx_uda1341_capture_ioctl,
+       .hw_params              = snd_sa11xx_uda1341_hw_params,
+       .hw_free                = snd_sa11xx_uda1341_hw_free,
+       .prepare                = snd_card_sa11xx_uda1341_capture_prepare,
+       .trigger                = snd_card_sa11xx_uda1341_capture_trigger,
+       .pointer                = snd_card_sa11xx_uda1341_capture_pointer,
 };
 
 static int __init snd_card_sa11xx_uda1341_pcm(sa11xx_uda1341_t *sa11xx_uda1341, int device, int substreams)