diff options
| author | Art Haas <ahaas@airmail.net> | 2002-11-25 19:26:14 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2002-11-25 19:26:14 -0800 |
| commit | aeac538dbd5d1ac238e3a32541de2f4d37ca1a0e (patch) | |
| tree | 6db0b1c6b443b56a9fa71f680e8281c6c67f2a8f /drivers/hotplug/ibmphp_ebda.c | |
| parent | a515c2d5417a134fb305d12aa04c36872b9bf96b (diff) | |
[PATCH] C99 initializers for drivers/hotplug
Here's a small set of patches for switching drivers/hotplug to use C99
initializers. The patches are against 2.5.49.
Diffstat (limited to 'drivers/hotplug/ibmphp_ebda.c')
| -rw-r--r-- | drivers/hotplug/ibmphp_ebda.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/hotplug/ibmphp_ebda.c b/drivers/hotplug/ibmphp_ebda.c index 86a88433da5f..0e36421e3e0b 100644 --- a/drivers/hotplug/ibmphp_ebda.c +++ b/drivers/hotplug/ibmphp_ebda.c @@ -1240,11 +1240,11 @@ void ibmphp_free_ebda_pci_rsrc_queue (void) static struct pci_device_id id_table[] __devinitdata = { { - vendor: PCI_VENDOR_ID_IBM, - device: HPC_DEVICE_ID, - subvendor: PCI_VENDOR_ID_IBM, - subdevice: HPC_SUBSYSTEM_ID, - class: ((PCI_CLASS_SYSTEM_PCI_HOTPLUG << 8) | 0x00), + .vendor = PCI_VENDOR_ID_IBM, + .device = HPC_DEVICE_ID, + .subvendor = PCI_VENDOR_ID_IBM, + .subdevice = HPC_SUBSYSTEM_ID, + .class = ((PCI_CLASS_SYSTEM_PCI_HOTPLUG << 8) | 0x00), }, {} }; @@ -1252,9 +1252,9 @@ MODULE_DEVICE_TABLE(pci, id_table); static int ibmphp_probe (struct pci_dev *, const struct pci_device_id *); static struct pci_driver ibmphp_driver = { - name: "ibmphp", - id_table: id_table, - probe: ibmphp_probe, + .name = "ibmphp", + .id_table = id_table, + .probe = ibmphp_probe, }; int ibmphp_register_pci (void) |
