Commit b8041f7b authored by Luca Tettamanti's avatar Luca Tettamanti Committed by Linus Torvalds

[PATCH] C99 designated initializer for drivers/ide/pci

parent 19516634
......@@ -544,9 +544,9 @@ static struct pci_device_id aec62xx_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "AEC62xx IDE",
id_table: aec62xx_pci_tbl,
probe: aec62xx_init_one,
.name = "AEC62xx IDE",
.id_table = aec62xx_pci_tbl,
.probe = aec62xx_init_one,
};
static int aec62xx_ide_init(void)
......
......@@ -869,9 +869,9 @@ static struct pci_device_id alim15x3_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "ALI15x3 IDE",
id_table: alim15x3_pci_tbl,
probe: alim15x3_init_one,
.name = "ALI15x3 IDE",
.id_table = alim15x3_pci_tbl,
.probe = alim15x3_init_one,
};
static int ali15x3_ide_init(void)
......
......@@ -414,9 +414,9 @@ static struct pci_device_id amd74xx_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "AMD IDE",
id_table: amd74xx_pci_tbl,
probe: amd74xx_init_one,
.name = "AMD IDE",
.id_table = amd74xx_pci_tbl,
.probe = amd74xx_init_one,
};
static int amd74xx_ide_init(void)
......
......@@ -784,9 +784,9 @@ static struct pci_device_id cmd64x_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "CMD64x IDE",
id_table: cmd64x_pci_tbl,
probe: cmd64x_init_one,
.name = "CMD64x IDE",
.id_table = cmd64x_pci_tbl,
.probe = cmd64x_init_one,
};
static int cmd64x_ide_init(void)
......
......@@ -437,9 +437,9 @@ static struct pci_device_id cs5530_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "CS5530 IDE",
id_table: cs5530_pci_tbl,
probe: cs5530_init_one,
.name = "CS5530 IDE",
.id_table = cs5530_pci_tbl,
.probe = cs5530_init_one,
};
static int cs5530_ide_init(void)
......
......@@ -448,9 +448,9 @@ static struct pci_device_id cy82c693_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "Cypress IDE",
id_table: cy82c693_pci_tbl,
probe: cy82c693_init_one,
.name = "Cypress IDE",
.id_table = cy82c693_pci_tbl,
.probe = cy82c693_init_one,
};
static int cy82c693_ide_init(void)
......
......@@ -123,9 +123,9 @@ static struct pci_device_id generic_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "PCI IDE",
id_table: generic_pci_tbl,
probe: generic_init_one,
.name = "PCI IDE",
.id_table = generic_pci_tbl,
.probe = generic_init_one,
};
static int generic_ide_init(void)
......
......@@ -344,9 +344,9 @@ static struct pci_device_id hpt34x_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "HPT34x IDE",
id_table: hpt34x_pci_tbl,
probe: hpt34x_init_one,
.name = "HPT34x IDE",
.id_table = hpt34x_pci_tbl,
.probe = hpt34x_init_one,
};
static int hpt34x_ide_init(void)
......
......@@ -1199,9 +1199,9 @@ static struct pci_device_id hpt366_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "HPT366 IDE",
id_table: hpt366_pci_tbl,
probe: hpt366_init_one,
.name = "HPT366 IDE",
.id_table = hpt366_pci_tbl,
.probe = hpt366_init_one,
};
static int hpt366_ide_init(void)
......
......@@ -315,9 +315,9 @@ static struct pci_device_id it8172_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "IT8172IDE",
id_table: it8172_pci_tbl,
probe: it8172_init_one,
.name = "IT8172IDE",
.id_table = it8172_pci_tbl,
.probe = it8172_init_one,
};
static int it8172_ide_init(void)
......
......@@ -246,9 +246,9 @@ static struct pci_device_id ns87415_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "NS87415IDE",
id_table: ns87415_pci_tbl,
probe: ns87415_init_one,
.name = "NS87415IDE",
.id_table = ns87415_pci_tbl,
.probe = ns87415_init_one,
};
static int ns87415_ide_init(void)
......
......@@ -353,9 +353,9 @@ static struct pci_device_id nforce_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "nForce IDE",
id_table: nforce_pci_tbl,
probe: nforce_init_one,
.name = "nForce IDE",
.id_table = nforce_pci_tbl,
.probe = nforce_init_one,
};
static int nforce_ide_init(void)
......
......@@ -381,9 +381,9 @@ static struct pci_device_id opti621_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "Opti621 IDE",
id_table: opti621_pci_tbl,
probe: opti621_init_one,
.name = "Opti621 IDE",
.id_table = opti621_pci_tbl,
.probe = opti621_init_one,
};
static int opti621_ide_init(void)
......
......@@ -679,9 +679,9 @@ static struct pci_device_id pdc202new_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "Promise IDE",
id_table: pdc202new_pci_tbl,
probe: pdc202new_init_one,
.name = "Promise IDE",
.id_table = pdc202new_pci_tbl,
.probe = pdc202new_init_one,
};
static int pdc202new_ide_init(void)
......
......@@ -956,9 +956,9 @@ static struct pci_device_id pdc202xx_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "Promise Old IDE",
id_table: pdc202xx_pci_tbl,
probe: pdc202xx_init_one,
.name = "Promise Old IDE",
.id_table = pdc202xx_pci_tbl,
.probe = pdc202xx_init_one,
};
static int pdc202xx_ide_init(void)
......
......@@ -143,9 +143,9 @@ static struct pci_device_id pdcadma_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "PDCADMA-IDE",
id_table: pdcadma_pci_tbl,
probe: pdcadma_init_one,
.name = "PDCADMA-IDE",
.id_table = pdcadma_pci_tbl,
.probe = pdcadma_init_one,
};
static int pdcadma_ide_init(void)
......
......@@ -705,9 +705,9 @@ static struct pci_device_id piix_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "PIIX IDE",
id_table: piix_pci_tbl,
probe: piix_init_one,
.name = "PIIX IDE",
.id_table = piix_pci_tbl,
.probe = piix_init_one,
};
static int piix_ide_init(void)
......
......@@ -73,9 +73,9 @@ static struct pci_device_id rz1000_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "RZ1000 IDE",
id_table: rz1000_pci_tbl,
probe: rz1000_init_one,
.name = "RZ1000 IDE",
.id_table = rz1000_pci_tbl,
.probe = rz1000_init_one,
};
static int rz1000_ide_init(void)
......
......@@ -797,9 +797,9 @@ static struct pci_device_id svwks_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "Serverworks IDE",
id_table: svwks_pci_tbl,
probe: svwks_init_one,
.name = "Serverworks IDE",
.id_table = svwks_pci_tbl,
.probe = svwks_init_one,
#if 0 /* FIXME: implement */
suspend: ,
resume: ,
......
......@@ -855,9 +855,9 @@ static struct pci_device_id siimage_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "SiI IDE",
id_table: siimage_pci_tbl,
probe: siimage_init_one,
.name = "SiI IDE",
.id_table = siimage_pci_tbl,
.probe = siimage_init_one,
};
static int siimage_ide_init(void)
......
......@@ -1040,9 +1040,9 @@ static struct pci_device_id sis5513_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "SIS IDE",
id_table: sis5513_pci_tbl,
probe: sis5513_init_one,
.name = "SIS IDE",
.id_table = sis5513_pci_tbl,
.probe = sis5513_init_one,
};
static int sis5513_ide_init(void)
......
......@@ -298,9 +298,9 @@ static struct pci_device_id sl82c105_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "W82C105 IDE",
id_table: sl82c105_pci_tbl,
probe: sl82c105_init_one,
.name = "W82C105 IDE",
.id_table = sl82c105_pci_tbl,
.probe = sl82c105_init_one,
};
static int sl82c105_ide_init(void)
......
......@@ -382,9 +382,9 @@ static struct pci_device_id slc90e66_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "SLC90e66 IDE",
id_table: slc90e66_pci_tbl,
probe: slc90e66_init_one,
.name = "SLC90e66 IDE",
.id_table = slc90e66_pci_tbl,
.probe = slc90e66_init_one,
};
static int slc90e66_ide_init(void)
......
......@@ -413,9 +413,9 @@ static struct pci_device_id trm290_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "TRM290 IDE",
id_table: trm290_pci_tbl,
probe: trm290_init_one,
.name = "TRM290 IDE",
.id_table = trm290_pci_tbl,
.probe = trm290_init_one,
};
static int trm290_ide_init(void)
......
......@@ -652,9 +652,9 @@ static struct pci_device_id via_pci_tbl[] __devinitdata = {
};
static struct pci_driver driver = {
name: "VIA IDE",
id_table: via_pci_tbl,
probe: via_init_one,
.name = "VIA IDE",
.id_table = via_pci_tbl,
.probe = via_init_one,
};
static int via_ide_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment