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