diff options
| -rw-r--r-- | arch/ppc/syslib/of_device.c | 8 | ||||
| -rw-r--r-- | drivers/i2c/i2c-keywest.c | 10 | ||||
| -rw-r--r-- | drivers/macintosh/macio_asic.c | 24 |
3 files changed, 21 insertions, 21 deletions
diff --git a/arch/ppc/syslib/of_device.c b/arch/ppc/syslib/of_device.c index cdce53fa76d3..831f778eaccf 100644 --- a/arch/ppc/syslib/of_device.c +++ b/arch/ppc/syslib/of_device.c @@ -127,10 +127,10 @@ static int of_device_resume(struct device * dev) } struct bus_type of_platform_bus_type = { - name: "of_platform", - match: of_platform_bus_match, - suspend: of_device_suspend, - resume: of_device_resume, + .name = "of_platform", + .match = of_platform_bus_match, + .suspend = of_device_suspend, + .resume = of_device_resume, }; static int __init of_bus_driver_init(void) diff --git a/drivers/i2c/i2c-keywest.c b/drivers/i2c/i2c-keywest.c index 843c891e26a2..8b3ce02101e9 100644 --- a/drivers/i2c/i2c-keywest.c +++ b/drivers/i2c/i2c-keywest.c @@ -408,11 +408,11 @@ keywest_func(struct i2c_adapter * adapter) /* For now, we only handle combined mode (smbus) */ static struct i2c_algorithm keywest_algorithm = { - name: "Keywest i2c", - id: I2C_ALGO_SMBUS, - smbus_xfer: keywest_smbus_xfer, - master_xfer: keywest_xfer, - functionality: keywest_func, + .name = "Keywest i2c", + .id = I2C_ALGO_SMBUS, + .smbus_xfer = keywest_smbus_xfer, + .master_xfer = keywest_xfer, + .functionality = keywest_func, }; diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c index f36435a63ea6..c8d7d791aaec 100644 --- a/drivers/macintosh/macio_asic.c +++ b/drivers/macintosh/macio_asic.c @@ -123,10 +123,10 @@ static int macio_device_resume(struct device * dev) } struct bus_type macio_bus_type = { - name: "macio", - match: macio_bus_match, - suspend: macio_device_suspend, - resume: macio_device_resume, + .name = "macio", + .match = macio_bus_match, + .suspend = macio_device_suspend, + .resume = macio_device_resume, }; static int __init @@ -378,10 +378,10 @@ static void __devexit macio_pci_remove(struct pci_dev* pdev) * will then decide wether it applies or not */ static const struct pci_device_id __devinitdata pci_ids [] = { { - .vendor = PCI_VENDOR_ID_APPLE, - .device = PCI_ANY_ID, - .subvendor = PCI_ANY_ID, - .subdevice = PCI_ANY_ID, + .vendor = PCI_VENDOR_ID_APPLE, + .device = PCI_ANY_ID, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, }, { /* end: all zeroes */ } }; @@ -389,11 +389,11 @@ MODULE_DEVICE_TABLE (pci, pci_ids); /* pci driver glue; this is a "new style" PCI driver module */ static struct pci_driver macio_pci_driver = { - .name = (char *) "macio", - .id_table = pci_ids, + .name = (char *) "macio", + .id_table = pci_ids, - .probe = macio_pci_probe, - .remove = macio_pci_remove, + .probe = macio_pci_probe, + .remove = macio_pci_remove, }; #endif /* CONFIG_PCI */ |
