]> git.neil.brown.name Git - history.git/commitdiff
Convert drivers/net to C99 struct initializers.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Aug 2002 09:51:47 +0000 (05:51 -0400)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 3 Aug 2002 09:51:47 +0000 (05:51 -0400)
69 files changed:
drivers/net/3c501.c
drivers/net/3c59x.c
drivers/net/8139too.c
drivers/net/Space.c
drivers/net/arcnet/com20020-pci.c
drivers/net/bonding.c
drivers/net/defxx.c
drivers/net/dl2k.c
drivers/net/e100/e100_main.c
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_param.c
drivers/net/eepro100.c
drivers/net/epic100.c
drivers/net/fealnx.c
drivers/net/hamachi.c
drivers/net/hamradio/6pack.c
drivers/net/hamradio/baycom_epp.c
drivers/net/hamradio/bpqether.c
drivers/net/ioc3-eth.c
drivers/net/irda/irda-usb.c
drivers/net/irda/vlsi_ir.c
drivers/net/lasi_82596.c
drivers/net/natsemi.c
drivers/net/ne2k-pci.c
drivers/net/ns83820.c
drivers/net/pci-skeleton.c
drivers/net/plip.c
drivers/net/ppp_async.c
drivers/net/ppp_generic.c
drivers/net/ppp_synctty.c
drivers/net/pppoe.c
drivers/net/rcpci45.c
drivers/net/sis900.c
drivers/net/starfire.c
drivers/net/strip.c
drivers/net/sundance.c
drivers/net/sungem.c
drivers/net/tc35815.c
drivers/net/tg3.c
drivers/net/tlan.c
drivers/net/tokenring/3c359.c
drivers/net/tokenring/abyss.c
drivers/net/tokenring/lanstreamer.c
drivers/net/tokenring/olympic.c
drivers/net/tokenring/tmspci.c
drivers/net/tulip/de2104x.c
drivers/net/tulip/dmfe.c
drivers/net/tulip/tulip_core.c
drivers/net/tulip/winbond-840.c
drivers/net/tulip/xircom_cb.c
drivers/net/tulip/xircom_tulip_cb.c
drivers/net/tun.c
drivers/net/via-rhine.c
drivers/net/wan/comx-proto-fr.c
drivers/net/wan/comx.c
drivers/net/wan/cosa.c
drivers/net/wan/dscc4.c
drivers/net/wan/farsync.c
drivers/net/wan/lapbether.c
drivers/net/wan/pc300_drv.c
drivers/net/wan/sdlamain.c
drivers/net/wan/syncppp.c
drivers/net/wireless/airo.c
drivers/net/wireless/netwave_cs.c
drivers/net/wireless/orinoco_pci.c
drivers/net/wireless/orinoco_plx.c
drivers/net/wireless/wavelan.c
drivers/net/wireless/wavelan_cs.c
drivers/net/yellowfin.c

index 531443987fa9ecdfe15e70af8b2ad42a563d46de..ceb6d790231d923344e6894aa2982debc611d848 100644 (file)
@@ -1011,9 +1011,9 @@ static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
 #ifdef MODULE
 
 static struct net_device dev_3c501 = {
-       init:           el1_probe,
-       base_addr:      0x280,
-       irq:            5,
+       .init           = el1_probe,
+       .base_addr      = 0x280,
+       .irq            = 5,
 };
 
 static int io=0x280;
index 35d39ed0adc7450d801911c1f0a4e939b7b4a468..84e4f3ffd551a4c073c181bffe1484b7760c6ecd 100644 (file)
@@ -2955,13 +2955,13 @@ static void __devexit vortex_remove_one (struct pci_dev *pdev)
 
 
 static struct pci_driver vortex_driver = {
-       name:           "3c59x",
-       probe:          vortex_init_one,
-       remove:         __devexit_p(vortex_remove_one),
-       id_table:       vortex_pci_tbl,
+       .name           = "3c59x",
+       .probe          = vortex_init_one,
+       .remove         = __devexit_p(vortex_remove_one),
+       .id_table       = vortex_pci_tbl,
 #ifdef CONFIG_PM
-       suspend:        vortex_suspend,
-       resume:         vortex_resume,
+       .suspend        = vortex_suspend,
+       .resume         = vortex_resume,
 #endif
 };
 
index 76a257ea33e0da20ecf5cb52b69ae7064f71d5d5..501074043e4841d322e1c8b8ecf326712cc37094 100644 (file)
@@ -2611,13 +2611,13 @@ static int rtl8139_resume (struct pci_dev *pdev)
 
 
 static struct pci_driver rtl8139_pci_driver = {
-       name:           DRV_NAME,
-       id_table:       rtl8139_pci_tbl,
-       probe:          rtl8139_init_one,
-       remove:         __devexit_p(rtl8139_remove_one),
+       .name           = DRV_NAME,
+       .id_table       = rtl8139_pci_tbl,
+       .probe          = rtl8139_init_one,
+       .remove         = __devexit_p(rtl8139_remove_one),
 #ifdef CONFIG_PM
-       suspend:        rtl8139_suspend,
-       resume:         rtl8139_resume,
+       .suspend        = rtl8139_suspend,
+       .resume         = rtl8139_resume,
 #endif /* CONFIG_PM */
 };
 
index 41db686b2c6ee9615ef43dc02e20dbd7d3684713..2399de76246e67050a5edf454a8cae2f482ac05d 100644 (file)
@@ -466,10 +466,10 @@ static int fcif_probe(struct net_device *dev)
 
 #ifdef CONFIG_ETHERTAP
 static struct net_device tap0_dev = {
-       name:           "tap0",
-       base_addr:      NETLINK_TAPBASE,
-       next:           NEXT_DEV,
-       init:           ethertap_probe,
+       .name           = "tap0",
+       .base_addr      = NETLINK_TAPBASE,
+       .next           = NEXT_DEV,
+       .init           = ethertap_probe,
 };
 #undef NEXT_DEV
 #define NEXT_DEV       (&tap0_dev)
@@ -478,9 +478,9 @@ static struct net_device tap0_dev = {
 #ifdef CONFIG_SDLA
 extern int sdla_init(struct net_device *);
 static struct net_device sdla0_dev = {
-       name:            "sdla0",
-       next:            NEXT_DEV,
-       init:            sdla_init,
+       .name           =  "sdla0",
+       .next           =  NEXT_DEV,
+       .init           =  sdla_init,
 };
 #undef NEXT_DEV
 #define NEXT_DEV       (&sdla0_dev)
@@ -489,9 +489,9 @@ static struct net_device sdla0_dev = {
 #if defined(CONFIG_LTPC)
 extern int ltpc_probe(struct net_device *);
 static struct net_device dev_ltpc = {
-       name:           "lt0",
-       next:           NEXT_DEV,
-       init:           ltpc_probe
+       .name           = "lt0",
+       .next           = NEXT_DEV,
+       .init           = ltpc_probe
 };
 #undef NEXT_DEV
 #define NEXT_DEV       (&dev_ltpc)
@@ -500,63 +500,63 @@ static struct net_device dev_ltpc = {
 #if defined(CONFIG_COPS)
 extern int cops_probe(struct net_device *);
 static struct net_device cops2_dev = {
-       name:           "lt2",
-       next:           NEXT_DEV,
-       init:           cops_probe,
+       .name           = "lt2",
+       .next           = NEXT_DEV,
+       .init           = cops_probe,
 };
 static struct net_device cops1_dev = {
-       name:           "lt1",
-       next:           &cops2_dev,
-       init:           cops_probe,
+       .name           = "lt1",
+       .next           = &cops2_dev,
+       .init           = cops_probe,
 };
 static struct net_device cops0_dev = {
-       name:           "lt0",
-       next:           &cops1_dev,
-       init:           cops_probe,
+       .name           = "lt0",
+       .next           = &cops1_dev,
+       .init           = cops_probe,
 };
 #undef NEXT_DEV
 #define NEXT_DEV     (&cops0_dev)
 #endif  /* COPS */
 
 static struct net_device eth7_dev = {
-       name:           "eth%d",
-       next:           NEXT_DEV,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = NEXT_DEV,
+       .init           = ethif_probe,
 };
 static struct net_device eth6_dev = {
-       name:           "eth%d",
-       next:           &eth7_dev,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = &eth7_dev,
+       .init           = ethif_probe,
 };
 static struct net_device eth5_dev = {
-       name:           "eth%d",
-       next:           &eth6_dev,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = &eth6_dev,
+       .init           = ethif_probe,
 };
 static struct net_device eth4_dev = {
-       name:           "eth%d",
-       next:           &eth5_dev,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = &eth5_dev,
+       .init           = ethif_probe,
 };
 static struct net_device eth3_dev = {
-       name:           "eth%d",
-       next:           &eth4_dev,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = &eth4_dev,
+       .init           = ethif_probe,
 };
 static struct net_device eth2_dev = {
-       name:           "eth%d",
-       next:           &eth3_dev,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = &eth3_dev,
+       .init           = ethif_probe,
 };
 static struct net_device eth1_dev = {
-       name:           "eth%d",
-       next:           &eth2_dev,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = &eth2_dev,
+       .init           = ethif_probe,
 };
 static struct net_device eth0_dev = {
-       name:           "eth%d",
-       next:           &eth1_dev,
-       init:           ethif_probe,
+       .name           = "eth%d",
+       .next           = &eth1_dev,
+       .init           = ethif_probe,
 };
 
 #undef NEXT_DEV
@@ -585,44 +585,44 @@ trif_probe(struct net_device *dev)
     return 0;
 }
 static struct net_device tr7_dev = {
-       name:           "tr%d",
-       next:           NEXT_DEV,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = NEXT_DEV,
+       .init           = trif_probe,
 };
 static struct net_device tr6_dev = {
-       name:           "tr%d",
-       next:           &tr7_dev,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = &tr7_dev,
+       .init           = trif_probe,
 };
 static struct net_device tr5_dev = {
-       name:           "tr%d",
-       next:           &tr6_dev,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = &tr6_dev,
+       .init           = trif_probe,
 };
 static struct net_device tr4_dev = {
-       name:           "tr%d",
-       next:           &tr5_dev,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = &tr5_dev,
+       .init           = trif_probe,
 };
 static struct net_device tr3_dev = {
-       name:           "tr%d",
-       next:           &tr4_dev,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = &tr4_dev,
+       .init           = trif_probe,
 };
 static struct net_device tr2_dev = {
-       name:           "tr%d",
-       next:           &tr3_dev,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = &tr3_dev,
+       .init           = trif_probe,
 };
 static struct net_device tr1_dev = {
-       name:           "tr%d",
-       next:           &tr2_dev,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = &tr2_dev,
+       .init           = trif_probe,
 };
 static struct net_device tr0_dev = {
-       name:           "tr%d",
-       next:           &tr1_dev,
-       init:           trif_probe,
+       .name           = "tr%d",
+       .next           = &tr1_dev,
+       .init           = trif_probe,
 };
 #undef       NEXT_DEV
 #define      NEXT_DEV        (&tr0_dev)
@@ -631,44 +631,44 @@ static struct net_device tr0_dev = {
 
 #ifdef CONFIG_FDDI
 static struct net_device fddi7_dev = {
-       name:           "fddi7",
-       next:            NEXT_DEV,
-       init:           fddiif_probe
+       .name           = "fddi7",
+       .next           =  NEXT_DEV,
+       .init           = fddiif_probe
 };
 static struct net_device fddi6_dev = {
-       name:           "fddi6",
-       next:           &fddi7_dev,
-       init:           fddiif_probe
+       .name           = "fddi6",
+       .next           = &fddi7_dev,
+       .init           = fddiif_probe
 };
 static struct net_device fddi5_dev = {
-       name:           "fddi5",
-       next:           &fddi6_dev,
-       init:           fddiif_probe
+       .name           = "fddi5",
+       .next           = &fddi6_dev,
+       .init           = fddiif_probe
 };
 static struct net_device fddi4_dev = {
-       name:           "fddi4",
-       next:           &fddi5_dev,
-       init:           fddiif_probe
+       .name           = "fddi4",
+       .next           = &fddi5_dev,
+       .init           = fddiif_probe
 };
 static struct net_device fddi3_dev = {
-       name:           "fddi3",
-       next:           &fddi4_dev,
-       init:           fddiif_probe
+       .name           = "fddi3",
+       .next           = &fddi4_dev,
+       .init           = fddiif_probe
 };
 static struct net_device fddi2_dev = {
-       name:           "fddi2",
-       next:           &fddi3_dev,
-       init:           fddiif_probe
+       .name           = "fddi2",
+       .next           = &fddi3_dev,
+       .init           = fddiif_probe
 };
 static struct net_device fddi1_dev = {
-       name:           "fddi1",
-       next:           &fddi2_dev,
-       init:           fddiif_probe
+       .name           = "fddi1",
+       .next           = &fddi2_dev,
+       .init           = fddiif_probe
 };
 static struct net_device fddi0_dev = {
-       name:           "fddi0",
-       next:           &fddi1_dev,
-       init:           fddiif_probe
+       .name           = "fddi0",
+       .next           = &fddi1_dev,
+       .init           = fddiif_probe
 };
 #undef NEXT_DEV
 #define        NEXT_DEV        (&fddi0_dev)
@@ -677,14 +677,14 @@ static struct net_device fddi0_dev = {
 
 #ifdef CONFIG_NET_FC
 static struct net_device fc1_dev = {
-       name:           "fc1",
-       next:           NEXT_DEV,
-       init:           fcif_probe
+       .name           = "fc1",
+       .next           = NEXT_DEV,
+       .init           = fcif_probe
 };
 static struct net_device fc0_dev = {
-       name:           "fc0",
-       next:            &fc1_dev,
-       init:           fcif_probe
+       .name           = "fc0",
+       .next           =  &fc1_dev,
+       .init           = fcif_probe
 };
 #undef       NEXT_DEV
 #define      NEXT_DEV        (&fc0_dev)
@@ -693,44 +693,44 @@ static struct net_device fc0_dev = {
 
 #ifdef CONFIG_SBNI
 static struct net_device sbni7_dev = {
-       name:           "sbni7",
-       next:           NEXT_DEV,
-       init:           sbni_probe,
+       .name           = "sbni7",
+       .next           = NEXT_DEV,
+       .init           = sbni_probe,
 };
 static struct net_device sbni6_dev = {
-       name:           "sbni6",
-       next:           &sbni7_dev,
-       init:           sbni_probe,
+       .name           = "sbni6",
+       .next           = &sbni7_dev,
+       .init           = sbni_probe,
 };
 static struct net_device sbni5_dev = {
-       name:           "sbni5",
-       next:           &sbni6_dev,
-       init:           sbni_probe,
+       .name           = "sbni5",
+       .next           = &sbni6_dev,
+       .init           = sbni_probe,
 };
 static struct net_device sbni4_dev = {
-       name:           "sbni4",
-       next:           &sbni5_dev,
-       init:           sbni_probe,
+       .name           = "sbni4",
+       .next           = &sbni5_dev,
+       .init           = sbni_probe,
 };
 static struct net_device sbni3_dev = {
-       name:           "sbni3",
-       next:           &sbni4_dev,
-       init:           sbni_probe,
+       .name           = "sbni3",
+       .next           = &sbni4_dev,
+       .init           = sbni_probe,
 };
 static struct net_device sbni2_dev = {
-       name:           "sbni2",
-       next:           &sbni3_dev,
-       init:           sbni_probe,
+       .name           = "sbni2",
+       .next           = &sbni3_dev,
+       .init           = sbni_probe,
 };
 static struct net_device sbni1_dev = {
-       name:           "sbni1",
-       next:           &sbni2_dev,
-       init:           sbni_probe,
+       .name           = "sbni1",
+       .next           = &sbni2_dev,
+       .init           = sbni_probe,
 };
 static struct net_device sbni0_dev = {
-       name:           "sbni0",
-       next:           &sbni1_dev,
-       init:           sbni_probe,
+       .name           = "sbni0",
+       .next           = &sbni1_dev,
+       .init           = sbni_probe,
 };
 
 #undef NEXT_DEV
@@ -744,9 +744,9 @@ static struct net_device sbni0_dev = {
 
 extern int loopback_init(struct net_device *dev);
 struct net_device loopback_dev = {
-       name:           "lo",
-       next:           NEXT_DEV,
-       init:           loopback_init
+       .name           = "lo",
+       .next           = NEXT_DEV,
+       .init           = loopback_init
 };
 
 /*
index 230dbf336063c103ce1ab63ee47b1cb8ce08279e..789006ac1510241f5b3516a1b6a3122e6ae24702 100644 (file)
@@ -158,10 +158,10 @@ static struct pci_device_id com20020pci_id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, com20020pci_id_table);
 
 static struct pci_driver com20020pci_driver = {
-       name:           "com20020",
-       id_table:       com20020pci_id_table,
-       probe:          com20020pci_probe,
-       remove:         __devexit_p(com20020pci_remove),
+       .name           = "com20020",
+       .id_table       = com20020pci_id_table,
+       .probe          = com20020pci_probe,
+       .remove         = __devexit_p(com20020pci_remove),
 };
 
 static int __init com20020pci_init(void)
index e20fde3570ef9f9ff072c96ad491d70e48d8376a..f6c750456b3e8ef4fd48c46146c3d244b5c2f9b9 100644 (file)
@@ -2202,7 +2202,7 @@ static int bond_event(struct notifier_block *this, unsigned long event,
 }
 
 static struct notifier_block bond_netdev_notifier = {
-       notifier_call: bond_event,
+       .notifier_call = bond_event,
 };
 
 static int __init bond_init(struct net_device *dev)
index 97e5b891b1e7d206205045395a1cc40eaebd7fc6..2ea57fc67073a2b918cdfb52ab72565dce396f32 100644 (file)
@@ -3360,10 +3360,10 @@ static struct pci_device_id dfx_pci_tbl[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, dfx_pci_tbl);
 
 static struct pci_driver dfx_driver = {
-       name:           "defxx",
-       probe:          dfx_init_one,
-       remove:         __devexit_p(dfx_remove_one),
-       id_table:       dfx_pci_tbl,
+       .name           = "defxx",
+       .probe          = dfx_init_one,
+       .remove         = __devexit_p(dfx_remove_one),
+       .id_table       = dfx_pci_tbl,
 };
 
 static int dfx_have_pci;
index aa6e13a6788c43863d8441c973783373063b3264..67c6ffdf7c0fd41fef5154c014d09d4303400b18 100644 (file)
@@ -1688,10 +1688,10 @@ rio_remove1 (struct pci_dev *pdev)
 }
 
 static struct pci_driver rio_driver = {
-       name:           "dl2k",
-       id_table:       rio_pci_tbl,
-       probe:          rio_probe1,
-       remove:         __devexit_p(rio_remove1),
+       .name           = "dl2k",
+       .id_table       = rio_pci_tbl,
+       .probe          = rio_probe1,
+       .remove         = __devexit_p(rio_remove1),
 };
 
 static int __init
index d58486f305bfd21b09fecb8fe79781c0e08ed703..028f01d850115d4d618dd4080d88154f7dbebf38 100644 (file)
@@ -782,18 +782,18 @@ e100_remove1(struct pci_dev *pcid)
 MODULE_DEVICE_TABLE(pci, e100_id_table);
 
 static struct pci_driver e100_driver = {
-       name:           "e100",
-       id_table:       e100_id_table,
-       probe:          e100_found1,
-       remove:         __devexit_p(e100_remove1),
+       .name         = "e100",
+       .id_table     = e100_id_table,
+       .probe        = e100_found1,
+       .remove       = __devexit_p(e100_remove1),
 #ifdef CONFIG_PM
-       suspend:        e100_suspend,
-       resume:         e100_resume,
-       save_state:     e100_save_state,
-       enable_wake:    e100_enable_wake,
+       .suspend      = e100_suspend,
+       .resume       = e100_resume,
+       .save_state   = e100_save_state,
+       .enable_wake  = e100_enable_wake,
 #else
-       suspend:        NULL,
-       resume:         NULL,
+       .suspend      = NULL,
+       .resume       = NULL,
 #endif
 };
 
index bfbd58b61a6d938a9e98bec52834eb9440bfb943..baae2b94a513410c6b0524cf0eef36fc0ce9216d 100644 (file)
@@ -186,9 +186,9 @@ static int e1000_resume(struct pci_dev *pdev);
 #endif
 
 struct notifier_block e1000_notifier = {
-       notifier_call:  e1000_notify_reboot,
-       next:           NULL,
-       priority:       0
+       .notifier_call  = e1000_notify_reboot,
+       .next           = NULL,
+       .priority       = 0
 };
 
 /* Exported from other modules */
@@ -199,14 +199,14 @@ extern void e1000_proc_dev_free(struct e1000_adapter *adapter);
 extern int e1000_ethtool_ioctl(struct net_device *netdev, struct ifreq *ifr);
 
 static struct pci_driver e1000_driver = {
-       name:     e1000_driver_name,
-       id_table: e1000_pci_tbl,
-       probe:    e1000_probe,
-       remove:   __devexit_p(e1000_remove),
+       .name     = e1000_driver_name,
+       .id_table = e1000_pci_tbl,
+       .probe    = e1000_probe,
+       .remove   = __devexit_p(e1000_remove),
        /* Power Managment Hooks */
 #ifdef CONFIG_PM
-       suspend:  e1000_suspend,
-       resume:   e1000_resume
+       .suspend  = e1000_suspend,
+       .resume   = e1000_resume
 #endif
 };
 
index 618515ae94f25f6ff2d85bf12deb70973ae6d46d..c32c135815d20fa0780817feabe07364d255c036 100644 (file)
@@ -345,11 +345,11 @@ e1000_check_options(struct e1000_adapter *adapter)
 
        { /* Transmit Descriptor Count */
                struct e1000_option opt = {
-                       type: range_option,
-                       name: "Transmit Descriptors",
-                       err:  "using default of " __MODULE_STRING(DEFAULT_TXD),
-                       def:  DEFAULT_TXD,
-                       arg: { r: { min: MIN_TXD }}
+                       .type = range_option,
+                       .name = "Transmit Descriptors",
+                       .err  = "using default of " __MODULE_STRING(DEFAULT_TXD),
+                       .def  = DEFAULT_TXD,
+                       .arg  = { r: { min: MIN_TXD }}
                };
                struct e1000_desc_ring *tx_ring = &adapter->tx_ring;
                e1000_mac_type mac_type = adapter->hw.mac_type;
@@ -361,11 +361,11 @@ e1000_check_options(struct e1000_adapter *adapter)
        }
        { /* Receive Descriptor Count */
                struct e1000_option opt = {
-                       type: range_option,
-                       name: "Receive Descriptors",
-                       err:  "using default of " __MODULE_STRING(DEFAULT_RXD),
-                       def:  DEFAULT_RXD,
-                       arg: { r: { min: MIN_RXD }}
+                       .type = range_option,
+                       .name = "Receive Descriptors",
+                       .err  = "using default of " __MODULE_STRING(DEFAULT_RXD),
+                       .def  = DEFAULT_RXD,
+                       .arg  = { r: { min: MIN_RXD }}
                };
                struct e1000_desc_ring *rx_ring = &adapter->rx_ring;
                e1000_mac_type mac_type = adapter->hw.mac_type;
@@ -377,10 +377,10 @@ e1000_check_options(struct e1000_adapter *adapter)
        }
        { /* Checksum Offload Enable/Disable */
                struct e1000_option opt = {
-                       type: enable_option,
-                       name: "Checksum Offload",
-                       err:  "defaulting to Enabled",
-                       def:  OPTION_ENABLED
+                       .type = enable_option,
+                       .name = "Checksum Offload",
+                       .err  = "defaulting to Enabled",
+                       .def  = OPTION_ENABLED
                };
                
                int rx_csum = XsumRX[bd];
@@ -397,11 +397,11 @@ e1000_check_options(struct e1000_adapter *adapter)
                         { e1000_fc_default, "Flow Control Hardware Default" }};
 
                struct e1000_option opt = {
-                       type: list_option,
-                       name: "Flow Control",
-                       err:  "reading default settings from EEPROM",
-                       def:  e1000_fc_default,
-                       arg: { l: { nr: ARRAY_SIZE(fc_list), p: fc_list }}
+                       .type = list_option,
+                       .name = "Flow Control",
+                       .err  = "reading default settings from EEPROM",
+                       .def  = e1000_fc_default,
+                       .arg  = { l: { nr: ARRAY_SIZE(fc_list), p: fc_list }}
                };
 
                int fc = FlowControl[bd];
@@ -412,9 +412,9 @@ e1000_check_options(struct e1000_adapter *adapter)
                char *rdtr = "using default of " __MODULE_STRING(DEFAULT_RDTR);
                char *radv = "using default of " __MODULE_STRING(DEFAULT_RADV);
                struct e1000_option opt = {
-                       type: range_option,
-                       name: "Receive Interrupt Delay",
-                       arg: { r: { min: MIN_RXDELAY, max: MAX_RXDELAY }}
+                       .type = range_option,
+                       .name = "Receive Interrupt Delay",
+                       .arg  = { r: { min: MIN_RXDELAY, max: MAX_RXDELAY }}
                };
                e1000_mac_type mac_type = adapter->hw.mac_type;
                opt.def = mac_type < e1000_82540 ? DEFAULT_RDTR : DEFAULT_RADV;
@@ -483,11 +483,11 @@ e1000_check_copper_options(struct e1000_adapter *adapter)
                                                      {  SPEED_100, "" },
                                                      { SPEED_1000, "" }};
                struct e1000_option opt = {
-                       type: list_option,
-                       name: "Speed",
-                       err:  "parameter ignored",
-                       def:  0,
-                       arg: { l: { nr: ARRAY_SIZE(speed_list), p: speed_list }}
+                       .type = list_option,
+                       .name = "Speed",
+                       .err  = "parameter ignored",
+                       .def  = 0,
+                       .arg  = { l: { nr: ARRAY_SIZE(speed_list), p: speed_list }}
                };
 
                speed = Speed[bd];
@@ -498,11 +498,11 @@ e1000_check_copper_options(struct e1000_adapter *adapter)
                                                     { HALF_DUPLEX, "" },
                                                     { FULL_DUPLEX, "" }};
                struct e1000_option opt = {
-                       type: list_option,
-                       name: "Duplex",
-                       err:  "parameter ignored",
-                       def:  0,
-                       arg: { l: { nr: ARRAY_SIZE(dplx_list), p: dplx_list }}
+                       .type = list_option,
+                       .name = "Duplex",
+                       .err  = "parameter ignored",
+                       .def  = 0,
+                       .arg  = { l: { nr: ARRAY_SIZE(dplx_list), p: dplx_list }}
                };
 
                dplx = Duplex[bd];
@@ -550,11 +550,11 @@ e1000_check_copper_options(struct e1000_adapter *adapter)
                         { 0x2f, AA "1000/FD, 100/FD, 100/HD, 10/FD, 10/HD" }};
 
                struct e1000_option opt = {
-                       type: list_option,
-                       name: "AutoNeg",
-                       err:  "parameter ignored",
-                       def:  AUTONEG_ADV_DEFAULT,
-                       arg: { l: { nr: ARRAY_SIZE(an_list), p: an_list }}
+                       .type = list_option,
+                       .name = "AutoNeg",
+                       .err  = "parameter ignored",
+                       .def  = AUTONEG_ADV_DEFAULT,
+                       .arg  = { l: { nr: ARRAY_SIZE(an_list), p: an_list }}
                };
 
                int an = AutoNeg[bd];
@@ -650,11 +650,11 @@ e1000_check_copper_options(struct e1000_adapter *adapter)
 
        { /* MDI/MDI-X */
                struct e1000_option opt = {
-                       type: range_option,
-                       name: "MDI/MDI-X",
-                       err:  "using default of " __MODULE_STRING(DEFAULT_MDIX),
-                       def:  DEFAULT_MDIX,
-                       arg: { r: { min: MIN_MDIX, max: MAX_MDIX }}
+                       .type = range_option,
+                       .name = "MDI/MDI-X",
+                       .err  = "using default of " __MODULE_STRING(DEFAULT_MDIX),
+                       .def  = DEFAULT_MDIX,
+                       .arg  = { r: { min: MIN_MDIX, max: MAX_MDIX }}
                };
 
                int mdix = MdiX[bd];
@@ -665,10 +665,10 @@ e1000_check_copper_options(struct e1000_adapter *adapter)
          /* option is actually to disable polarity correction,
           * so setting to OPTION_ENABLED turns the hardware feature off */
                struct e1000_option opt = {
-                       type: enable_option,
-                       name: "Disable Polarity Correction",
-                       err:  "defaulting to Disabled",
-                       def:  OPTION_DISABLED,
+                       .type = enable_option,
+                       .name = "Disable Polarity Correction",
+                       .err  = "defaulting to Disabled",
+                       .def  = OPTION_DISABLED,
                };
 
                int dpc = DisablePolarityCorrection[bd];
index 485a0a319a9828754ae56ddb03dc5494a39f117d..75a1b5198bf86c48a03ef0669ec2e4035502bedc 100644 (file)
@@ -2300,13 +2300,13 @@ static struct pci_device_id eepro100_pci_tbl[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, eepro100_pci_tbl);
        
 static struct pci_driver eepro100_driver = {
-       name:           "eepro100",
-       id_table:       eepro100_pci_tbl,
-       probe:          eepro100_init_one,
-       remove:         __devexit_p(eepro100_remove_one),
+       .name           = "eepro100",
+       .id_table       = eepro100_pci_tbl,
+       .probe          = eepro100_init_one,
+       .remove         = __devexit_p(eepro100_remove_one),
 #ifdef CONFIG_PM
-       suspend:        eepro100_suspend,
-       resume:         eepro100_resume,
+       .suspend        = eepro100_suspend,
+       .resume = eepro100_resume,
 #endif /* CONFIG_PM */
 };
 
index 8a79a4acff0a16e66555b8bd0492a8e11dda956a..6937ba553076829dde8c248a7c0e16a59aa65fdb 100644 (file)
@@ -1534,13 +1534,13 @@ static int epic_resume (struct pci_dev *pdev)
 
 
 static struct pci_driver epic_driver = {
-       name:           DRV_NAME,
-       id_table:       epic_pci_tbl,
-       probe:          epic_init_one,
-       remove:         __devexit_p(epic_remove_one),
+       .name           = DRV_NAME,
+       .id_table       = epic_pci_tbl,
+       .probe          = epic_init_one,
+       .remove         = __devexit_p(epic_remove_one),
 #ifdef CONFIG_PM
-       suspend:        epic_suspend,
-       resume:         epic_resume,
+       .suspend        = epic_suspend,
+       .resume         = epic_resume,
 #endif /* CONFIG_PM */
 };
 
index 9aea4b32484face183ecd757c817df7dbbdce744..c562f8738b7d4a26bb316834b8a27691afc59ec7 100644 (file)
@@ -1926,10 +1926,10 @@ MODULE_DEVICE_TABLE(pci, fealnx_pci_tbl);
 
 
 static struct pci_driver fealnx_driver = {
-       name:           "fealnx",
-       id_table:       fealnx_pci_tbl,
-       probe:          fealnx_init_one,
-       remove:         __devexit_p(fealnx_remove_one),
+       .name           = "fealnx",
+       .id_table       = fealnx_pci_tbl,
+       .probe          = fealnx_init_one,
+       .remove         = __devexit_p(fealnx_remove_one),
 };
 
 static int __init fealnx_init(void)
index 6dd6f95daef1cdf34c6bbabed5572a26b9f5f33e..5b99aa02d64360739083a7b297f4596270938514 100644 (file)
@@ -2005,10 +2005,10 @@ static struct pci_device_id hamachi_pci_tbl[] __initdata = {
 MODULE_DEVICE_TABLE(pci, hamachi_pci_tbl);
 
 static struct pci_driver hamachi_driver = {
-       name:           DRV_NAME,
-       id_table:       hamachi_pci_tbl,
-       probe:          hamachi_init_one,
-       remove:         __devexit_p(hamachi_remove_one),
+       .name           = DRV_NAME,
+       .id_table       = hamachi_pci_tbl,
+       .probe          = hamachi_init_one,
+       .remove         = __devexit_p(hamachi_remove_one),
 };
 
 static int __init hamachi_init (void)
index 05517ef853e431d7d2e4b2db77aef3f23ec29ec8..b4fb6e2e8de387111ebae1a91138b1def948ee88 100644 (file)
@@ -687,15 +687,15 @@ static int sp_open_dev(struct net_device *dev)
 
 /* Fill in our line protocol discipline */
 static struct tty_ldisc sp_ldisc = {
-       magic:          TTY_LDISC_MAGIC,
-       name:           "6pack",
-       open:           sixpack_open,
-       close:          sixpack_close,
-       ioctl:          (int (*)(struct tty_struct *, struct file *,
+       .magic  = TTY_LDISC_MAGIC,
+       .name           = "6pack",
+       .open           = sixpack_open,
+       .close  = sixpack_close,
+       .ioctl  = (int (*)(struct tty_struct *, struct file *,
                        unsigned int, unsigned long)) sixpack_ioctl,
-       receive_buf:    sixpack_receive_buf,
-       receive_room:   sixpack_receive_room,
-       write_wakeup:   sixpack_write_wakeup,
+       .receive_buf    = sixpack_receive_buf,
+       .receive_room   = sixpack_receive_room,
+       .write_wakeup   = sixpack_write_wakeup,
 };
 
 /* Initialize 6pack control device -- register 6pack line discipline */
index cc925c52622f0018981b0a197c9fd4f397944f15..d43905dea4cc5c91ceb40101a1e396ad683d9bfb 100644 (file)
@@ -1020,8 +1020,8 @@ static int epp_open(struct net_device *dev)
        struct baycom_state *bc;
         struct parport *pp;
        const struct tq_struct run_bh = {
-               routine: (void *)(void *)epp_bh,
-               data: dev
+               .routine = (void *)(void *)epp_bh,
+               .data = dev
        };
        unsigned int i, j;
        unsigned char tmp[128];
index 2d8b541a70f216af84e37db4df2c6c4be2351217..44013aaf56662b4e4cd1968bea3bd714bc9e3cc1 100644 (file)
@@ -102,12 +102,12 @@ static int bpq_device_event(struct notifier_block *, unsigned long, void *);
 static char *bpq_print_ethaddr(unsigned char *);
 
 static struct packet_type bpq_packet_type = {
-       type:   __constant_htons(ETH_P_BPQ),
-       func:   bpq_rcv,
+       .type   = __constant_htons(ETH_P_BPQ),
+       .func   = bpq_rcv,
 };
 
 static struct notifier_block bpq_dev_notifier = {
-       notifier_call:  bpq_device_event,
+       .notifier_call =bpq_device_event,
 };
 
 
index a4b4789082d74d3ad383c13a04557bfb8287735b..072e1977ccc7b36a2d08394c7cb469013311f567 100644 (file)
@@ -1621,10 +1621,10 @@ static struct pci_device_id ioc3_pci_tbl[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, ioc3_pci_tbl);
 
 static struct pci_driver ioc3_driver = {
-       name:           "ioc3-eth",
-       id_table:       ioc3_pci_tbl,
-       probe:          ioc3_probe,
-       remove:         __devexit_p(ioc3_remove_one),
+       .name           = "ioc3-eth",
+       .id_table       = ioc3_pci_tbl,
+       .probe          = ioc3_probe,
+       .remove         = __devexit_p(ioc3_remove_one),
 };
 
 static int __init ioc3_init_module(void)
index 6120ae91f374f722eb7035f512f98142f646faca..bacad342c62041945b7504e5bb23bc4f8ee81219 100644 (file)
@@ -1591,10 +1591,10 @@ static void irda_usb_disconnect(struct usb_device *dev, void *ptr)
  * USB device callbacks
  */
 static struct usb_driver irda_driver = {
-       name:           "irda-usb",
-       probe:          irda_usb_probe,
-       disconnect:     irda_usb_disconnect,
-       id_table:       dongles,
+       .name           = "irda-usb",
+       .probe          = irda_usb_probe,
+       .disconnect     = irda_usb_disconnect,
+       .id_table       = dongles,
 };
 
 /************************* MODULE CALLBACKS *************************/
index f73080a93ba14712b7b85487cd73198555631491..73a080b5af507408794d0fdd154822642360effb 100644 (file)
@@ -56,9 +56,9 @@ static /* const */ char drivername[] = "vlsi_ir";
 
 static struct pci_device_id vlsi_irda_table [] __devinitdata = { {
 
-       class:          PCI_CLASS_WIRELESS_IRDA << 8,
-       vendor:         PCI_VENDOR_ID_VLSI,
-       device:         PCI_DEVICE_ID_VLSI_82C147,
+       .class =        PCI_CLASS_WIRELESS_IRDA << 8,
+       .vendor =       PCI_VENDOR_ID_VLSI,
+       .device =       PCI_DEVICE_ID_VLSI_82C147,
        }, { /* all zeroes */ }
 };
 
@@ -1288,12 +1288,12 @@ static int vlsi_irda_resume(struct pci_dev *pdev)
 /*********************************************************/
 
 static struct pci_driver vlsi_irda_driver = {
-       name:           drivername,
-       id_table:       vlsi_irda_table,
-       probe:          vlsi_irda_probe,
-       remove:         __devexit_p(vlsi_irda_remove),
-       suspend:        vlsi_irda_suspend,
-       resume:         vlsi_irda_resume,
+       .name           = drivername,
+       .id_table       = vlsi_irda_table,
+       .probe          = vlsi_irda_probe,
+       .remove         = __devexit_p(vlsi_irda_remove),
+       .suspend        = vlsi_irda_suspend,
+       .resume         = vlsi_irda_resume,
 };
 
 static int __init vlsi_mod_init(void)
index e93eb24efc7fd4e659718d0519df1bb9807aa6b3..110cecb549853daf8ff70abd040b1e55e507e42a 100644 (file)
@@ -1515,8 +1515,8 @@ static char devicename[9] =
 {0,};
 static struct net_device dev_82596 =
 {
-       name: devicename,       /* device name inserted by drivers/net/net_init.c */
-       init: lasi_i82596_probe,
+       .name = devicename,     /* device name inserted by drivers/net/net_init.c */
+       .init = lasi_i82596_probe,
 };
 
 
index d96e3d7bf94bf73f5a88297e953bf597a8682e36..7582f2dadead02f54450bb46d35fb48ad7a41f9f 100644 (file)
@@ -2503,13 +2503,13 @@ out:
 #endif /* CONFIG_PM */
 
 static struct pci_driver natsemi_driver = {
-       name:           DRV_NAME,
-       id_table:       natsemi_pci_tbl,
-       probe:          natsemi_probe1,
-       remove:         __devexit_p(natsemi_remove1),
+       .name           = DRV_NAME,
+       .id_table       = natsemi_pci_tbl,
+       .probe          = natsemi_probe1,
+       .remove         = __devexit_p(natsemi_remove1),
 #ifdef CONFIG_PM
-       suspend:        natsemi_suspend,
-       resume:         natsemi_resume,
+       .suspend        = natsemi_suspend,
+       .resume         = natsemi_resume,
 #endif
 };
 
index b5325cb6bf4938d7c8704f3d737084f1b098ed92..28e23e9b1617a087bd03e3939d40c89db10994fc 100644 (file)
@@ -640,10 +640,10 @@ static void __devexit ne2k_pci_remove_one (struct pci_dev *pdev)
 
 
 static struct pci_driver ne2k_driver = {
-       name:           DRV_NAME,
-       probe:          ne2k_pci_init_one,
-       remove:         __devexit_p(ne2k_pci_remove_one),
-       id_table:       ne2k_pci_tbl,
+       .name           = DRV_NAME,
+       .probe          = ne2k_pci_init_one,
+       .remove         = __devexit_p(ne2k_pci_remove_one),
+       .id_table       = ne2k_pci_tbl,
 };
 
 
index 5014851c1284ee46966a81edddf2f7cfe36e01e4..2675caf0fc941095212b6cf666e18fd09a9c16c5 100644 (file)
@@ -1675,13 +1675,13 @@ static struct pci_device_id ns83820_pci_tbl[] __devinitdata = {
 };
 
 static struct pci_driver driver = {
-       name:           "ns83820",
-       id_table:       ns83820_pci_tbl,
-       probe:          ns83820_init_one,
-       remove:         __devexit_p(ns83820_remove_one),
+       .name           = "ns83820",
+       .id_table       = ns83820_pci_tbl,
+       .probe          = ns83820_init_one,
+       .remove         = __devexit_p(ns83820_remove_one),
 #if 0  /* FIXME: implement */
-       suspend:        ,
-       resume:         ,
+       .suspend        = ,
+       .resume         = ,
 #endif
 };
 
index 45c435f843d6bf43a9b431f783783478886e1296..5fd5b5c0858b11e021d02e9d2b2d7adb8557df0a 100644 (file)
@@ -1953,13 +1953,13 @@ static int netdrv_resume (struct pci_dev *pdev)
 
 
 static struct pci_driver netdrv_pci_driver = {
-       name:           MODNAME,
-       id_table:       netdrv_pci_tbl,
-       probe:          netdrv_init_one,
-       remove:         __devexit_p(netdrv_remove_one),
+       .name           = MODNAME,
+       .id_table       = netdrv_pci_tbl,
+       .probe          = netdrv_init_one,
+       .remove         = __devexit_p(netdrv_remove_one),
 #ifdef CONFIG_PM
-       suspend:        netdrv_suspend,
-       resume:         netdrv_resume,
+       .suspend        = netdrv_suspend,
+       .resume         = netdrv_resume,
 #endif /* CONFIG_PM */
 };
 
index 47a9422e672c52e7b789fa2357010861c13796c0..505b343ec7b6c39045b7df035b5fcc2300e06960 100644 (file)
@@ -1350,9 +1350,9 @@ static void plip_detach (struct parport *port)
 }
 
 static struct parport_driver plip_driver = {
-       name:   "plip",
-       attach: plip_attach,
-       detach: plip_detach
+       .name   = "plip",
+       .attach = plip_attach,
+       .detach = plip_detach
 };
 
 static void __exit plip_cleanup_module (void)
index 9adc8d9c9e688234407b1ac10cab92adb9707947..293c6a11e37475be22c0eba64ab48d3095d52a50 100644 (file)
@@ -351,17 +351,17 @@ ppp_asynctty_wakeup(struct tty_struct *tty)
 
 
 static struct tty_ldisc ppp_ldisc = {
-       magic:  TTY_LDISC_MAGIC,
-       name:   "ppp",
-       open:   ppp_asynctty_open,
-       close:  ppp_asynctty_close,
-       read:   ppp_asynctty_read,
-       write:  ppp_asynctty_write,
-       ioctl:  ppp_asynctty_ioctl,
-       poll:   ppp_asynctty_poll,
-       receive_room: ppp_asynctty_room,
-       receive_buf: ppp_asynctty_receive,
-       write_wakeup: ppp_asynctty_wakeup,
+       .magic  = TTY_LDISC_MAGIC,
+       .name   = "ppp",
+       .open   = ppp_asynctty_open,
+       .close  = ppp_asynctty_close,
+       .read   = ppp_asynctty_read,
+       .write  = ppp_asynctty_write,
+       .ioctl  = ppp_asynctty_ioctl,
+       .poll   = ppp_asynctty_poll,
+       .receive_room = ppp_asynctty_room,
+       .receive_buf = ppp_asynctty_receive,
+       .write_wakeup = ppp_asynctty_wakeup,
 };
 
 static int __init
index 10928840e3c9c6865ff7b26b445668ea0d432c0c..1a46348d00ff68c81fc35f331ace4bdc17bb6d1b 100644 (file)
@@ -765,13 +765,13 @@ static int ppp_unattached_ioctl(struct ppp_file *pf, struct file *file,
 }
 
 static struct file_operations ppp_device_fops = {
-       owner:          THIS_MODULE,
-       read:           ppp_read,
-       write:          ppp_write,
-       poll:           ppp_poll,
-       ioctl:          ppp_ioctl,
-       open:           ppp_open,
-       release:        ppp_release
+       .owner          = THIS_MODULE,
+       .read           = ppp_read,
+       .write          = ppp_write,
+       .poll           = ppp_poll,
+       .ioctl          = ppp_ioctl,
+       .open           = ppp_open,
+       .release        = ppp_release
 };
 
 #define PPP_MAJOR      108
index a1020b8d9944abc4587f0ad65f0676e243fe04f0..a6f8788b7d1fa2ce1c13ed6e4ea6f7f6c836fce9 100644 (file)
@@ -404,17 +404,17 @@ ppp_sync_wakeup(struct tty_struct *tty)
 
 
 static struct tty_ldisc ppp_sync_ldisc = {
-       magic:  TTY_LDISC_MAGIC,
-       name:   "pppsync",
-       open:   ppp_sync_open,
-       close:  ppp_sync_close,
-       read:   ppp_sync_read,
-       write:  ppp_sync_write,
-       ioctl:  ppp_synctty_ioctl,
-       poll:   ppp_sync_poll,
-       receive_room: ppp_sync_room,
-       receive_buf: ppp_sync_receive,
-       write_wakeup: ppp_sync_wakeup,
+       .magic  = TTY_LDISC_MAGIC,
+       .name   = "pppsync",
+       .open   = ppp_sync_open,
+       .close  = ppp_sync_close,
+       .read   = ppp_sync_read,
+       .write  = ppp_sync_write,
+       .ioctl  = ppp_synctty_ioctl,
+       .poll   = ppp_sync_poll,
+       .receive_room = ppp_sync_room,
+       .receive_buf = ppp_sync_receive,
+       .write_wakeup = ppp_sync_wakeup,
 };
 
 static int __init
index e77d18513b434b57a1c9b3c7fa2395846bef2a87..2df76282b61955a8aea35dfdab372fee6cb07144 100644 (file)
@@ -332,7 +332,7 @@ static int pppoe_device_event(struct notifier_block *this,
 
 
 static struct notifier_block pppoe_notifier = {
-       notifier_call: pppoe_device_event,
+       .notifier_call = pppoe_device_event,
 };
 
 
@@ -459,13 +459,13 @@ abort:
 }
 
 struct packet_type pppoes_ptype = {
-       type:   __constant_htons(ETH_P_PPP_SES),
-       func:   pppoe_rcv,
+       .type   = __constant_htons(ETH_P_PPP_SES),
+       .func   = pppoe_rcv,
 };
 
 struct packet_type pppoed_ptype = {
-       type:   __constant_htons(ETH_P_PPP_DISC),
-       func:   pppoe_disc_rcv,
+       .type   = __constant_htons(ETH_P_PPP_DISC),
+       .func   = pppoe_disc_rcv,
 };
 
 /***********************************************************************
@@ -1033,27 +1033,27 @@ int pppoe_proc_info(char *buffer, char **start, off_t offset, int length)
 
 
 struct proto_ops pppoe_ops = {
-    family:            AF_PPPOX,
-    release:           pppoe_release,
-    bind:              sock_no_bind,
-    connect:           pppoe_connect,
-    socketpair:                sock_no_socketpair,
-    accept:            sock_no_accept,
-    getname:           pppoe_getname,
-    poll:              datagram_poll,
-    ioctl:             pppoe_ioctl,
-    listen:            sock_no_listen,
-    shutdown:          sock_no_shutdown,
-    setsockopt:                sock_no_setsockopt,
-    getsockopt:                sock_no_getsockopt,
-    sendmsg:           pppoe_sendmsg,
-    recvmsg:           pppoe_rcvmsg,
-    mmap:              sock_no_mmap
+    .family            = AF_PPPOX,
+    .release           = pppoe_release,
+    .bind              = sock_no_bind,
+    .connect           = pppoe_connect,
+    .socketpair                = sock_no_socketpair,
+    .accept            = sock_no_accept,
+    .getname           = pppoe_getname,
+    .poll              = datagram_poll,
+    .ioctl             = pppoe_ioctl,
+    .listen            = sock_no_listen,
+    .shutdown          = sock_no_shutdown,
+    .setsockopt                = sock_no_setsockopt,
+    .getsockopt                = sock_no_getsockopt,
+    .sendmsg           = pppoe_sendmsg,
+    .recvmsg           = pppoe_rcvmsg,
+    .mmap              = sock_no_mmap
 };
 
 struct pppox_proto pppoe_proto = {
-    create:    pppoe_create,
-    ioctl:     pppoe_ioctl
+    .create    = pppoe_create,
+    .ioctl     = pppoe_ioctl
 };
 
 
index 87d34f4e86ac45d4e08149b2c2b4198725177a20..89a545f3e900b72e5554eb18c1b45562746666a3 100644 (file)
@@ -264,10 +264,10 @@ err_out:
 }
 
 static struct pci_driver rcpci45_driver = {
-       name:           "rcpci45",
-       id_table:       rcpci45_pci_table,
-       probe:          rcpci45_init_one,
-       remove:         __devexit_p(rcpci45_remove_one),
+       .name           = "rcpci45",
+       .id_table       = rcpci45_pci_table,
+       .probe          = rcpci45_init_one,
+       .remove         = __devexit_p(rcpci45_remove_one),
 };
 
 static int __init
index c0b25e51910c35da80882e6c37bd061644f7308b..781c90d02c94b684c281d7a48a1405a3401817ff 100644 (file)
@@ -2163,10 +2163,10 @@ static void __devexit sis900_remove(struct pci_dev *pci_dev)
 }
 
 static struct pci_driver sis900_pci_driver = {
-       name:           SIS900_MODULE_NAME,
-       id_table:       sis900_pci_tbl,
-       probe:          sis900_probe,
-       remove:         __devexit_p(sis900_remove),
+       .name           = SIS900_MODULE_NAME,
+       .id_table       = sis900_pci_tbl,
+       .probe          = sis900_probe,
+       .remove         = __devexit_p(sis900_remove),
 };
 
 static int __init sis900_init_module(void)
index 36d6ff62f074d44219d24318e7c05bf5c2f7b0ee..4e4c9954340aaaa34752a74b5532e25784da071b 100644 (file)
@@ -2012,10 +2012,10 @@ static void __devexit starfire_remove_one (struct pci_dev *pdev)
 
 
 static struct pci_driver starfire_driver = {
-       name:           DRV_NAME,
-       probe:          starfire_init_one,
-       remove:         __devexit_p(starfire_remove_one),
-       id_table:       starfire_pci_tbl,
+       .name           = DRV_NAME,
+       .probe          = starfire_init_one,
+       .remove         = __devexit_p(starfire_remove_one),
+       .id_table       = starfire_pci_tbl,
 };
 
 
index 98577b85d1389d9cf5b4740d9c41b795aaa9429b..9ee3562c285c59d28e3930d68107c81381a54ece 100644 (file)
@@ -2812,14 +2812,14 @@ static int strip_ioctl(struct tty_struct *tty, struct file *file,
 /* Initialization                                                      */
 
 static struct tty_ldisc strip_ldisc = {
-       magic:          TTY_LDISC_MAGIC,
-       name:           "strip",
-       open:           strip_open,
-       close:          strip_close,
-       ioctl:          strip_ioctl,
-       receive_buf:    strip_receive_buf,
-       receive_room:   strip_receive_room,
-       write_wakeup:   strip_write_some_more,
+       .magic          = TTY_LDISC_MAGIC,
+       .name           = "strip",
+       .open           = strip_open,
+       .close          = strip_close,
+       .ioctl          = strip_ioctl,
+       .receive_buf    = strip_receive_buf,
+       .receive_room   = strip_receive_room,
+       .write_wakeup   = strip_write_some_more,
 };
 
 /*
index 509a65c18fb24c23d57239c1f45b782e16751881..5c046bad54bc5a9ece3e38c764346e3e592aa9ff 100644 (file)
@@ -1460,10 +1460,10 @@ static void __devexit sundance_remove1 (struct pci_dev *pdev)
 }
 
 static struct pci_driver sundance_driver = {
-       name:           DRV_NAME,
-       id_table:       sundance_pci_tbl,
-       probe:          sundance_probe1,
-       remove:         __devexit_p(sundance_remove1),
+       .name           = DRV_NAME,
+       .id_table       = sundance_pci_tbl,
+       .probe          = sundance_probe1,
+       .remove         = __devexit_p(sundance_remove1),
 };
 
 static int __init sundance_init(void)
index baab083e852c03c563bf5281576a2a71f45c36fe..531e4c80cab1fb0ced2c649de9f867505d1bb423 100644 (file)
@@ -3109,13 +3109,13 @@ static void __devexit gem_remove_one(struct pci_dev *pdev)
 }
 
 static struct pci_driver gem_driver = {
-       name:           GEM_MODULE_NAME,
-       id_table:       gem_pci_tbl,
-       probe:          gem_init_one,
-       remove:         __devexit_p(gem_remove_one),
+       .name           = GEM_MODULE_NAME,
+       .id_table       = gem_pci_tbl,
+       .probe          = gem_init_one,
+       .remove         = __devexit_p(gem_remove_one),
 #ifdef CONFIG_PM
-       suspend:        gem_suspend,
-       resume:         gem_resume,
+       .suspend        = gem_suspend,
+       .resume         = gem_resume,
 #endif /* CONFIG_PM */
 };
 
index 51235569651ab0ed1fcfc3efb741125258d0bef6..0f9155aa14e0d2db1e1087ab4d336aa8a8b8de68 100644 (file)
@@ -1744,10 +1744,10 @@ tc35815_killall(void)
 }
 
 static struct pci_driver tc35815_driver = {
-       name:  TC35815_MODULE_NAME,
-       probe: tc35815_probe,
-       remove: NULL,
-       id_table: tc35815_pci_tbl,
+       .name =TC35815_MODULE_NAME,
+       .probe = tc35815_probe,
+       .remove = NULL,
+       .id_table = tc35815_pci_tbl,
 };
 
 static int __init tc35815_init_module(void)
index 89aed8654dbc8a389b64e9a2121fa1f9acae0d86..1b82416420f2d7fa9b7fcb8e1cb50674b0aaaf96 100644 (file)
@@ -6154,12 +6154,12 @@ static int tg3_resume(struct pci_dev *pdev)
 }
 
 static struct pci_driver tg3_driver = {
-       name:           DRV_MODULE_NAME,
-       id_table:       tg3_pci_tbl,
-       probe:          tg3_init_one,
-       remove:         __devexit_p(tg3_remove_one),
-       suspend:        tg3_suspend,
-       resume:         tg3_resume
+       .name           = DRV_MODULE_NAME,
+       .id_table       = tg3_pci_tbl,
+       .probe          = tg3_init_one,
+       .remove         = __devexit_p(tg3_remove_one),
+       .suspend        = tg3_suspend,
+       .resume         = tg3_resume
 };
 
 static int __init tg3_init(void)
index d387ab81ce8692a43799487812006da1b1d6d039..53adbd47f618cc2102674efff1ad271624b55102 100644 (file)
@@ -432,10 +432,10 @@ static void __devexit tlan_remove_one( struct pci_dev *pdev)
 } 
 
 static struct pci_driver tlan_driver = {
-       name:           "tlan",
-       id_table:       tlan_pci_tbl,
-       probe:          tlan_init_one,
-       remove:         __devexit_p(tlan_remove_one),   
+       .name           = "tlan",
+       .id_table       = tlan_pci_tbl,
+       .probe          = tlan_init_one,
+       .remove         = __devexit_p(tlan_remove_one), 
 };
 
 static int __init tlan_probe(void)
index b31c7815176367ae773eae480438d3a8a42264e2..c82a04f331cb31d550a4a114a9bd58acd503da53 100644 (file)
@@ -1793,10 +1793,10 @@ static void __devexit xl_remove_one (struct pci_dev *pdev)
 }
 
 static struct pci_driver xl_3c359_driver = {
-       name:           "3c359",
-       id_table:       xl_pci_tbl,
-       probe:          xl_probe,
-       remove:         __devexit_p(xl_remove_one),
+       .name           = "3c359",
+       .id_table       = xl_pci_tbl,
+       .probe          = xl_probe,
+       .remove         = __devexit_p(xl_remove_one),
 };
 
 static int __init xl_pci_init (void)
index 8b9a003a5786bf1fabc1d6ebb6217ea8c68b80c1..d9d89306309fa35fcc564d8c4f6d19b3d6d06f63 100644 (file)
@@ -448,10 +448,10 @@ static void __devexit abyss_detach (struct pci_dev *pdev)
 }
 
 static struct pci_driver abyss_driver = {
-       name:           "abyss",
-       id_table:       abyss_pci_tbl,
-       probe:          abyss_attach,
-       remove:         __devexit_p(abyss_detach),
+       .name           = "abyss",
+       .id_table       = abyss_pci_tbl,
+       .probe          = abyss_attach,
+       .remove         = __devexit_p(abyss_detach),
 };
 
 static int __init abyss_init (void)
index 9d1bee494875a5db98b6081da25bd37a2ab87697..7cb1205b19ec86bcc8217123adbaf4999ceaa37d 100644 (file)
@@ -1937,10 +1937,10 @@ static int streamer_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
 #endif
 
 static struct pci_driver streamer_pci_driver = {
-  name:       "lanstreamer",
-  id_table:   streamer_pci_tbl,
-  probe:      streamer_init_one,
-  remove:     __devexit_p(streamer_remove_one),
+  .name     = "lanstreamer",
+  .id_table = streamer_pci_tbl,
+  .probe    = streamer_init_one,
+  .remove   = __devexit_p(streamer_remove_one),
 };
 
 static int __init streamer_init_module(void) {
index 851f3f103b2fb8c60c3f82501d17ff8c3d0f1783..9eaf6ccdd9529203b49264b4b8c18a5ca7e539cd 100644 (file)
@@ -1753,10 +1753,10 @@ static void __devexit olympic_remove_one(struct pci_dev *pdev)
 }
 
 static struct pci_driver olympic_driver = { 
-       name:           "olympic",
-       id_table:       olympic_pci_tbl,
-       probe:          olympic_probe,
-       remove:         __devexit_p(olympic_remove_one),
+       .name           = "olympic",
+       .id_table       = olympic_pci_tbl,
+       .probe          = olympic_probe,
+       .remove         = __devexit_p(olympic_remove_one),
 };
 
 static int __init olympic_pci_init(void) 
index deca3a49caae10d09a0aa482cf7ab7d00d14ac10..1123956f675a1b3eb620cf06d71063fad9eb5ba0 100644 (file)
@@ -235,10 +235,10 @@ static void __devexit tms_pci_detach (struct pci_dev *pdev)
 }
 
 static struct pci_driver tms_pci_driver = {
-       name:           "tmspci",
-       id_table:       tmspci_pci_tbl,
-       probe:          tms_pci_attach,
-       remove:         __devexit_p(tms_pci_detach),
+       .name           = "tmspci",
+       .id_table       = tmspci_pci_tbl,
+       .probe          = tms_pci_attach,
+       .remove         = __devexit_p(tms_pci_detach),
 };
 
 static int __init tms_pci_init (void)
index ed53c0899f4d86d2ebdcc7118a8fa6366f884714..99526fae4d8f36e58583c531eb84b58c71933390 100644 (file)
@@ -2213,13 +2213,13 @@ out:
 #endif /* CONFIG_PM */
 
 static struct pci_driver de_driver = {
-       name:           DRV_NAME,
-       id_table:       de_pci_tbl,
-       probe:          de_init_one,
-       remove:         de_remove_one,
+       .name           = DRV_NAME,
+       .id_table       = de_pci_tbl,
+       .probe          = de_init_one,
+       .remove         = de_remove_one,
 #ifdef CONFIG_PM
-       suspend:        de_suspend,
-       resume:         de_resume,
+       .suspend        = de_suspend,
+       .resume         = de_resume,
 #endif
 };
 
index df18c0ee97b4971449f98d2561c2ca2c2cd7f383..08a70dbbbd485b9c31943e1d659703771b5c8039 100644 (file)
@@ -1983,10 +1983,10 @@ MODULE_DEVICE_TABLE(pci, dmfe_pci_tbl);
 
 
 static struct pci_driver dmfe_driver = {
-       name:           "dmfe",
-       id_table:       dmfe_pci_tbl,
-       probe:          dmfe_init_one,
-       remove:         __devexit_p(dmfe_remove_one),
+       .name           = "dmfe",
+       .id_table       = dmfe_pci_tbl,
+       .probe          = dmfe_init_one,
+       .remove         = __devexit_p(dmfe_remove_one),
 };
 
 MODULE_AUTHOR("Sten Wang, sten_wang@davicom.com.tw");
index 9fd55b20e33571461b7482dc59f45e3fe9583b2c..5079c36a81c086cfe171d30944a358dd378dde3c 100644 (file)
@@ -1752,13 +1752,13 @@ static void __devexit tulip_remove_one (struct pci_dev *pdev)
 
 
 static struct pci_driver tulip_driver = {
-       name:           DRV_NAME,
-       id_table:       tulip_pci_tbl,
-       probe:          tulip_init_one,
-       remove:         __devexit_p(tulip_remove_one),
+       .name           = DRV_NAME,
+       .id_table       = tulip_pci_tbl,
+       .probe          = tulip_init_one,
+       .remove         = __devexit_p(tulip_remove_one),
 #ifdef CONFIG_PM
-       suspend:        tulip_suspend,
-       resume:         tulip_resume,
+       .suspend        = tulip_suspend,
+       .resume         = tulip_resume,
 #endif /* CONFIG_PM */
 };
 
index 46dbdb165940d1ef714c612e27f22c147d106868..96383dfcb2417d6a7504466ba2dee855743683ae 100644 (file)
@@ -1729,13 +1729,13 @@ out:
 #endif
 
 static struct pci_driver w840_driver = {
-       name:           DRV_NAME,
-       id_table:       w840_pci_tbl,
-       probe:          w840_probe1,
-       remove:         __devexit_p(w840_remove1),
+       .name           = DRV_NAME,
+       .id_table       = w840_pci_tbl,
+       .probe          = w840_probe1,
+       .remove         = __devexit_p(w840_remove1),
 #ifdef CONFIG_PM
-       suspend:        w840_suspend,
-       resume:         w840_resume,
+       .suspend        = w840_suspend,
+       .resume         = w840_resume,
 #endif
 };
 
index d7af3df7caea98d29725eebd8fd46a8ca5c4eea6..ad6777c0a2898dcbce5ea6fa645bc5a4d0fc07e7 100644 (file)
@@ -148,12 +148,12 @@ static struct pci_device_id xircom_pci_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, xircom_pci_table);
 
 static struct pci_driver xircom_ops = {
-       name:           "xircom_cb", 
-       id_table:       xircom_pci_table, 
-       probe:          xircom_probe, 
-       remove:         xircom_remove, 
-       suspend:NULL,
-       resume:NULL
+       .name           = "xircom_cb", 
+       .id_table       = xircom_pci_table, 
+       .probe          = xircom_probe, 
+       .remove         = xircom_remove, 
+       .suspend =NULL,
+       .resume =NULL
 };
 
 
index 60973d670ce0a868698236e6fc6ca19a08441f13..ed6225762430921c18c6a3aba31f677eacba5cdd 100644 (file)
@@ -1706,13 +1706,13 @@ static void __devexit xircom_remove_one(struct pci_dev *pdev)
 
 
 static struct pci_driver xircom_driver = {
-       name:           DRV_NAME,
-       id_table:       xircom_pci_table,
-       probe:          xircom_init_one,
-       remove:         __devexit_p(xircom_remove_one),
+       .name           = DRV_NAME,
+       .id_table       = xircom_pci_table,
+       .probe          = xircom_init_one,
+       .remove         = __devexit_p(xircom_remove_one),
 #ifdef CONFIG_PM
-       suspend:        xircom_suspend,
-       resume:         xircom_resume
+       .suspend        = xircom_suspend,
+       .resume         = xircom_resume
 #endif /* CONFIG_PM */
 };
 
index 9e9fa188551d7abd39f62b0afed7fd219ee4ff3d..7e5ffd0211bd145e57550dc9fe78531b39c5b706 100644 (file)
@@ -564,17 +564,17 @@ static int tun_chr_close(struct inode *inode, struct file *file)
 }
 
 static struct file_operations tun_fops = {
-       owner:  THIS_MODULE,    
-       llseek: no_llseek,
-       read:   tun_chr_read,
-       readv:  tun_chr_readv,
-       write:  tun_chr_write,
-       writev: tun_chr_writev,
-       poll:   tun_chr_poll,
-       ioctl:  tun_chr_ioctl,
-       open:   tun_chr_open,
-       release:tun_chr_close,
-       fasync: tun_chr_fasync          
+       .owner  = THIS_MODULE,  
+       .llseek = no_llseek,
+       .read   = tun_chr_read,
+       .readv  = tun_chr_readv,
+       .write  = tun_chr_write,
+       .writev = tun_chr_writev,
+       .poll   = tun_chr_poll,
+       .ioctl  = tun_chr_ioctl,
+       .open   = tun_chr_open,
+       .release = tun_chr_close,
+       .fasync = tun_chr_fasync                
 };
 
 static struct miscdevice tun_miscdev=
index 8dc876b89bb231ab025f388382a13745b27eebb6..588a96a4c9c26447c25a1136f76015fad3d1959f 100644 (file)
@@ -1760,10 +1760,10 @@ static void __devexit via_rhine_remove_one (struct pci_dev *pdev)
 
 
 static struct pci_driver via_rhine_driver = {
-       name:           "via-rhine",
-       id_table:       via_rhine_pci_tbl,
-       probe:          via_rhine_init_one,
-       remove:         __devexit_p(via_rhine_remove_one),
+       .name           = "via-rhine",
+       .id_table       = via_rhine_pci_tbl,
+       .probe          = via_rhine_init_one,
+       .remove         = __devexit_p(via_rhine_remove_one),
 };
 
 
index 4460b6a3cea6d647b2fb2f894f7ad1c72aea887c..b480a5a13b870ba38e5371b214e5f62618c01f7b 100644 (file)
@@ -963,27 +963,27 @@ static int dlci_dump(struct net_device *dev)
 }
 
 static struct comx_protocol fr_master_protocol = {
-       name:           "frad", 
-       version:        VERSION,
-       encap_type:     ARPHRD_FRAD, 
-       line_init:      fr_master_init, 
-       line_exit:      fr_exit, 
+       .name           = "frad", 
+       .version        = VERSION,
+       .encap_type     = ARPHRD_FRAD, 
+       .line_init      = fr_master_init, 
+       .line_exit      = fr_exit, 
 };
 
 static struct comx_protocol fr_slave_protocol = {
-       name:           "ietf-ip", 
-       version:        VERSION,
-       encap_type:     ARPHRD_DLCI, 
-       line_init:      fr_slave_init, 
-       line_exit:      fr_exit, 
+       .name           = "ietf-ip", 
+       .version        = VERSION,
+       .encap_type     = ARPHRD_DLCI, 
+       .line_init      = fr_slave_init, 
+       .line_exit      = fr_exit, 
 };
 
 static struct comx_hardware fr_dlci = { 
-       name:           "dlci", 
-       version:        VERSION,
-       hw_init:        dlci_init, 
-       hw_exit:        dlci_exit, 
-       hw_dump:        dlci_dump, 
+       .name           = "dlci", 
+       .version        = VERSION,
+       .hw_init        = dlci_init, 
+       .hw_exit        = dlci_exit, 
+       .hw_dump        = dlci_dump, 
 };
 
 #ifdef MODULE
index 739c19d39b37ee32dced9e4f40ca08fbc6133e61..b30b4bfad6b68ad5dd860dd1deac685577ba522c 100644 (file)
@@ -98,9 +98,9 @@ static int comx_rmdir(struct inode *, struct dentry *);
 static struct dentry *comx_lookup(struct inode *, struct dentry *);
 
 static struct inode_operations comx_root_inode_ops = {
-       lookup: comx_lookup,
-       mkdir: comx_mkdir,
-       rmdir: comx_rmdir,
+       .lookup = comx_lookup,
+       .mkdir = comx_mkdir,
+       .rmdir = comx_rmdir,
 };
 
 static int comx_delete_dentry(struct dentry *dentry);
@@ -108,7 +108,7 @@ static struct proc_dir_entry *create_comx_proc_entry(char *name, int mode,
        int size, struct proc_dir_entry *dir);
 
 static struct dentry_operations comx_dentry_operations = {
-       d_delete:       comx_delete_dentry,
+       .d_delete       = comx_delete_dentry,
 };
 
 
index 4730a342d23c569bee46ed8e9639456882a1f043..6d8b4470223395b0c16d0c5f9491ed5df1d29d78 100644 (file)
@@ -311,16 +311,16 @@ static int cosa_fasync(struct inode *inode, struct file *file, int on);
 #endif
 
 static struct file_operations cosa_fops = {
-       owner:          THIS_MODULE,
-       llseek:         no_llseek,
-       read:           cosa_read,
-       write:          cosa_write,
-       poll:           cosa_poll,
-       ioctl:          cosa_chardev_ioctl,
-       open:           cosa_open,
-       release:        cosa_release,
+       .owner          = THIS_MODULE,
+       .llseek         = no_llseek,
+       .read           = cosa_read,
+       .write          = cosa_write,
+       .poll           = cosa_poll,
+       .ioctl          = cosa_chardev_ioctl,
+       .open           = cosa_open,
+       .release        = cosa_release,
 #ifdef COSA_FASYNC_WORKING
-       fasync:         cosa_fasync,
+       .fasync         = cosa_fasync,
 #endif
 };
 
index 4c3759121742b30505e15bbbd8f8f8b5c171b3bc..88f751da1447e062d3dbb4399d3d17a670295b95 100644 (file)
@@ -1860,10 +1860,10 @@ static struct pci_device_id dscc4_pci_tbl[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, dscc4_pci_tbl);
 
 static struct pci_driver dscc4_driver = {
-       name:           DRV_NAME,
-       id_table:       dscc4_pci_tbl,
-       probe:          dscc4_init_one,
-       remove:         dscc4_remove_one,
+       .name           = DRV_NAME,
+       .id_table       = dscc4_pci_tbl,
+       .probe          = dscc4_init_one,
+       .remove         = dscc4_remove_one,
 };
 
 static int __init dscc4_init_module(void)
index b3c03330cac9f64c743a94c223f47ee15aae0ce2..4544cfd2ded9822f42ffb19607bb37dab6083a37 100644 (file)
@@ -1660,12 +1660,12 @@ fst_remove_one ( struct pci_dev *pdev )
 }
 
 static struct pci_driver fst_driver = {
-        name:           FST_NAME,
-        id_table:       fst_pci_dev_id,
-        probe:          fst_add_one,
-        remove:         __devexit_p(fst_remove_one),
-        suspend:        NULL,
-        resume:         NULL,
+        .name          = FST_NAME,
+        .id_table      = fst_pci_dev_id,
+        .probe         = fst_add_one,
+        .remove        = __devexit_p(fst_remove_one),
+        .suspend       = NULL,
+        .resume        = NULL,
 };
 
 static int __init
index dd99743c4ed97964815a272d988342ab34669a8c..a830d285297c2be71902e9671ab727eda31fd86f 100644 (file)
@@ -458,12 +458,12 @@ static int lapbeth_device_event(struct notifier_block *this, unsigned long event
 /* ------------------------------------------------------------------------ */
 
 static struct packet_type lapbeth_packet_type = {
-       type:           __constant_htons(ETH_P_DEC),
-       func:           lapbeth_rcv,
+       .type           = __constant_htons(ETH_P_DEC),
+       .func           = lapbeth_rcv,
 };
 
 static struct notifier_block lapbeth_dev_notifier = {
-       notifier_call: lapbeth_device_event,
+       .notifier_call = lapbeth_device_event,
 };
 
 static char banner[] __initdata = KERN_INFO "LAPB Ethernet driver version 0.01\n";
index 7b9b35eda90e00fe8a15ecfab2d01d15f1b2dfed..d64cf432aafda56420ba264f29c7918f0a0a334d 100644 (file)
@@ -3661,12 +3661,12 @@ static void __devexit cpc_remove_one(struct pci_dev *pdev)
 }
 
 static struct pci_driver cpc_driver = {
-       name:"pc300",
-       id_table:cpc_pci_dev_id,
-       probe:cpc_init_one,
-       remove:cpc_remove_one,
-       suspend:NULL,
-       resume:NULL,
+       .name = "pc300",
+       .id_table = cpc_pci_dev_id,
+       .probe = cpc_init_one,
+       .remove = cpc_remove_one,
+       .suspend = NULL,
+       .resume = NULL,
 };
 
 static int __init cpc_init(void)
index 1b751bac85bb1c4e617b9ace8b4cade65d630fc6..4b08aab4aa7b05e727ed2b0ce42cea00bfa235c0 100644 (file)
@@ -244,8 +244,8 @@ static sdla_t* card_array = NULL;   /* adapter data space */
 DECLARE_TASK_QUEUE(wanpipe_tq_custom);
 static struct tq_struct wanpipe_tq_task = 
 {
-       routine: (void (*)(void *)) run_wanpipe_tq,
-       data: &wanpipe_tq_custom
+       .routine = (void (*)(void *)) run_wanpipe_tq,
+       .data = &wanpipe_tq_custom
 };
 #else
 static struct tq_struct *wanpipe_tq_custom = NULL;
index 09d9a1a1e7ba1f2d606363edd00cf66d7d14de3c..4d2802dd4b3ac9f2affed10cc6d2a4f44afb5661 100644 (file)
@@ -1393,8 +1393,8 @@ static int sppp_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_t
 }
 
 struct packet_type sppp_packet_type = {
-       type:   __constant_htons(ETH_P_WAN_PPP),
-       func:   sppp_rcv,
+       .type   = __constant_htons(ETH_P_WAN_PPP),
+       .func   = sppp_rcv,
 };
 
 static char banner[] __initdata = 
index aa0b16346043f853092414b0cf7bee65c8df829a..790d13482dcb2341f14f3e2057c8e7ac810aab1b 100644 (file)
@@ -61,10 +61,10 @@ static int airo_pci_probe(struct pci_dev *, const struct pci_device_id *);
 static void airo_pci_remove(struct pci_dev *);
 
 static struct pci_driver airo_driver = {
-       name:     "airo",
-       id_table: card_ids,
-       probe:    airo_pci_probe,
-       remove:   __devexit_p(airo_pci_remove),
+       .name     = "airo",
+       .id_table = card_ids,
+       .probe    = airo_pci_probe,
+       .remove   = __devexit_p(airo_pci_remove),
 };
 #endif /* CONFIG_PCI */
 
@@ -2562,56 +2562,56 @@ static int proc_config_open( struct inode *inode, struct file *file );
 static int proc_wepkey_open( struct inode *inode, struct file *file );
 
 static struct file_operations proc_statsdelta_ops = {
-       read:           proc_read,
-       open:           proc_statsdelta_open,
-       release:        proc_close
+       .read           = proc_read,
+       .open           = proc_statsdelta_open,
+       .release        = proc_close
 };
 
 static struct file_operations proc_stats_ops = {
-       read:           proc_read,
-       open:           proc_stats_open,
-       release:        proc_close
+       .read           = proc_read,
+       .open           = proc_stats_open,
+       .release        = proc_close
 };
 
 static struct file_operations proc_status_ops = {
-       read:            proc_read,
-       open:            proc_status_open,
-       release:         proc_close
+       .read           = proc_read,
+       .open           = proc_status_open,
+       .release        = proc_close
 };
 
 static struct file_operations proc_SSID_ops = {
-       read:          proc_read,
-       write:         proc_write,
-       open:          proc_SSID_open,
-       release:       proc_close
+       .read           = proc_read,
+       .write          = proc_write,
+       .open           = proc_SSID_open,
+       .release        = proc_close
 };
 
 static struct file_operations proc_BSSList_ops = {
-       read:          proc_read,
-       write:         proc_write,
-       open:          proc_BSSList_open,
-       release:       proc_close
+       .read           = proc_read,
+       .write          = proc_write,
+       .open           = proc_BSSList_open,
+       .release        = proc_close
 };
 
 static struct file_operations proc_APList_ops = {
-       read:          proc_read,
-       write:         proc_write,
-       open:          proc_APList_open,
-       release:       proc_close
+       .read           = proc_read,
+       .write          = proc_write,
+       .open           = proc_APList_open,
+       .release        = proc_close
 };
 
 static struct file_operations proc_config_ops = {
-       read:          proc_read,
-       write:         proc_write,
-       open:          proc_config_open,
-       release:       proc_close
+       .read           = proc_read,
+       .write          = proc_write,
+       .open           = proc_config_open,
+       .release        = proc_close
 };
 
 static struct file_operations proc_wepkey_ops = {
-       read:          proc_read,
-       write:         proc_write,
-       open:          proc_wepkey_open,
-       release:       proc_close
+       .read           = proc_read,
+       .write          = proc_write,
+       .open           = proc_wepkey_open,
+       .release        = proc_close
 };
 
 static struct proc_dir_entry *airo_entry = 0;
@@ -5208,12 +5208,12 @@ static const iw_handler         airo_private_handler[] =
 
 static const struct iw_handler_def     airo_handler_def =
 {
-       num_standard:   sizeof(airo_handler)/sizeof(iw_handler),
-       num_private:    sizeof(airo_private_handler)/sizeof(iw_handler),
-       num_private_args: sizeof(airo_private_args)/sizeof(struct iw_priv_args),
-       standard:       (iw_handler *) airo_handler,
-       private:        (iw_handler *) airo_private_handler,
-       private_args:   (struct iw_priv_args *) airo_private_args,
+       .num_standard   = sizeof(airo_handler)/sizeof(iw_handler),
+       .num_private    = sizeof(airo_private_handler)/sizeof(iw_handler),
+       .num_private_args = sizeof(airo_private_args)/sizeof(struct iw_priv_args),
+       .standard       = (iw_handler *) airo_handler,
+       .private        = (iw_handler *) airo_private_handler,
+       .private_args   = (struct iw_priv_args *) airo_private_args,
 };
 
 #endif /* WIRELESS_EXT > 12 */
index d5f52f16ed8e385dc34fc1f8dea6b578720f2b01..aadf92aebf19b29ff299ed65f94281dd190f6881 100644 (file)
@@ -902,12 +902,12 @@ static const iw_handler           netwave_private_handler[] =
 
 static const struct iw_handler_def     netwave_handler_def =
 {
-       num_standard:   sizeof(netwave_handler)/sizeof(iw_handler),
-       num_private:    sizeof(netwave_private_handler)/sizeof(iw_handler),
-       num_private_args: sizeof(netwave_private_args)/sizeof(struct iw_priv_args),
-       standard:       (iw_handler *) netwave_handler,
-       private:        (iw_handler *) netwave_private_handler,
-       private_args:   (struct iw_priv_args *) netwave_private_args,
+       .num_standard   = sizeof(netwave_handler)/sizeof(iw_handler),
+       .num_private    = sizeof(netwave_private_handler)/sizeof(iw_handler),
+       .num_private_args = sizeof(netwave_private_args)/sizeof(struct iw_priv_args),
+       .standard       = (iw_handler *) netwave_handler,
+       .private        = (iw_handler *) netwave_private_handler,
+       .private_args   = (struct iw_priv_args *) netwave_private_args,
 };
 #endif /* WIRELESS_EXT > 12 */
 
index c33f104d6d826e461aac316612fc32d54ebbebc9..07265b385a57187f76c39fd7ee52c158ad561f97 100644 (file)
@@ -361,12 +361,12 @@ static struct pci_device_id orinoco_pci_pci_id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, orinoco_pci_pci_id_table);
 
 static struct pci_driver orinoco_pci_driver = {
-       name:"orinoco_pci",
-       id_table:orinoco_pci_pci_id_table,
-       probe:orinoco_pci_init_one,
-       remove:orinoco_pci_remove_one,
-       suspend:0,
-       resume:0
+       .name           = "orinoco_pci",
+       .id_table       = orinoco_pci_pci_id_table,
+       .probe          = orinoco_pci_init_one,
+       .remove         = orinoco_pci_remove_one,
+       .suspend        = 0,
+       .resume         = 0
 };
 
 static int __init orinoco_pci_init(void)
index ceb4847574061799a42e23f33cada8f7ffb75e50..39182e24a2f7ba573d23eac53641897467be65c2 100644 (file)
@@ -382,12 +382,12 @@ static struct pci_device_id orinoco_plx_pci_id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, orinoco_plx_pci_id_table);
 
 static struct pci_driver orinoco_plx_driver = {
-       name:"orinoco_plx",
-       id_table:orinoco_plx_pci_id_table,
-       probe:orinoco_plx_init_one,
-       remove:orinoco_plx_remove_one,
-       suspend:0,
-       resume:0
+       .name           = "orinoco_plx",
+       .id_table       = orinoco_plx_pci_id_table,
+       .probe          = orinoco_plx_init_one,
+       .remove         = orinoco_plx_remove_one,
+       .suspend        = 0,
+       .resume         = 0
 };
 
 static int __init orinoco_plx_init(void)
index cd2471a4d1df2f223f1f785ff0e4bac649e9b730..ab5040966ecd0a86ddf7fed8c4e5cf2fa7fbd924 100644 (file)
@@ -2488,12 +2488,12 @@ static const struct iw_priv_args wavelan_private_args[] = {
 
 static const struct iw_handler_def     wavelan_handler_def =
 {
-       num_standard:   sizeof(wavelan_handler)/sizeof(iw_handler),
-       num_private:    sizeof(wavelan_private_handler)/sizeof(iw_handler),
-       num_private_args: sizeof(wavelan_private_args)/sizeof(struct iw_priv_args),
-       standard:       (iw_handler *) wavelan_handler,
-       private:        (iw_handler *) wavelan_private_handler,
-       private_args:   (struct iw_priv_args *) wavelan_private_args,
+       .num_standard   = sizeof(wavelan_handler)/sizeof(iw_handler),
+       .num_private    = sizeof(wavelan_private_handler)/sizeof(iw_handler),
+       .num_private_args = sizeof(wavelan_private_args)/sizeof(struct iw_priv_args),
+       .standard       = (iw_handler *) wavelan_handler,
+       .private        = (iw_handler *) wavelan_private_handler,
+       .private_args   = (struct iw_priv_args *) wavelan_private_args,
 };
 
 /*------------------------------------------------------------------*/
index 84dbb5667040c0ec7fb8cd2cd26ab7c0e182de2e..9f2b4c4e23903cf02a3004d827dee3dfff1ec4ba 100644 (file)
@@ -2856,12 +2856,12 @@ static const iw_handler         wavelan_private_handler[] =
 
 static const struct iw_handler_def     wavelan_handler_def =
 {
-       num_standard:   sizeof(wavelan_handler)/sizeof(iw_handler),
-       num_private:    sizeof(wavelan_private_handler)/sizeof(iw_handler),
-       num_private_args: sizeof(wavelan_private_args)/sizeof(struct iw_priv_args),
-       standard:       (iw_handler *) wavelan_handler,
-       private:        (iw_handler *) wavelan_private_handler,
-       private_args:   (struct iw_priv_args *) wavelan_private_args,
+       .num_standard   = sizeof(wavelan_handler)/sizeof(iw_handler),
+       .num_private    = sizeof(wavelan_private_handler)/sizeof(iw_handler),
+       .num_private_args = sizeof(wavelan_private_args)/sizeof(struct iw_priv_args),
+       .standard       = (iw_handler *) wavelan_handler,
+       .private        = (iw_handler *) wavelan_private_handler,
+       .private_args   = (struct iw_priv_args *) wavelan_private_args,
 };
 
 #else /* WIRELESS_EXT > 12 */
index 5ccf3c055315bc8aef600566928f73f91b94f1bf..a2b21655a8f3cb7f7aea391d0c12f93fa65a1b85 100644 (file)
@@ -1484,10 +1484,10 @@ static void __devexit yellowfin_remove_one (struct pci_dev *pdev)
 
 
 static struct pci_driver yellowfin_driver = {
-       name:           DRV_NAME,
-       id_table:       yellowfin_pci_tbl,
-       probe:          yellowfin_init_one,
-       remove:         __devexit_p(yellowfin_remove_one),
+       .name           = DRV_NAME,
+       .id_table       = yellowfin_pci_tbl,
+       .probe          = yellowfin_init_one,
+       .remove         = __devexit_p(yellowfin_remove_one),
 };