aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/serverworks.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-19 18:32:34 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-10-19 18:32:34 -0400
commit039788e1532368eeca1071a873c14e03920cdf38 (patch)
treeb12c736f5e6c96aebdca38155fe93c1ab377cda4 /drivers/ide/pci/serverworks.c
parent6157332edabdf77ccae2a033b53bbc9ae1d70ede (diff)
ide: replace ide_pci_device_t by struct ide_port_info
* Rename struct ide_pci_device_s to struct ide_port_info. * Remove ide_pci_device_t typedef. While at it: * Fix __ide_pci_register_driver() comment. * Fix aec62xx_init_one() comment. * Remove unused 'cds' field from ide_hwgroup_t. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/serverworks.c')
-rw-r--r--drivers/ide/pci/serverworks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c
index 2814b47a0920..be54f4fcb045 100644
--- a/drivers/ide/pci/serverworks.c
+++ b/drivers/ide/pci/serverworks.c
@@ -366,7 +366,7 @@ static void __devinit init_hwif_svwks (ide_hwif_t *hwif)
366 } 366 }
367} 367}
368 368
369static ide_pci_device_t serverworks_chipsets[] __devinitdata = { 369static struct ide_port_info serverworks_chipsets[] __devinitdata = {
370 { /* 0 */ 370 { /* 0 */
371 .name = "SvrWks OSB4", 371 .name = "SvrWks OSB4",
372 .init_chipset = init_chipset_svwks, 372 .init_chipset = init_chipset_svwks,
@@ -423,7 +423,7 @@ static ide_pci_device_t serverworks_chipsets[] __devinitdata = {
423 423
424static int __devinit svwks_init_one(struct pci_dev *dev, const struct pci_device_id *id) 424static int __devinit svwks_init_one(struct pci_dev *dev, const struct pci_device_id *id)
425{ 425{
426 ide_pci_device_t d; 426 struct ide_port_info d;
427 u8 idx = id->driver_data; 427 u8 idx = id->driver_data;
428 428
429 d = serverworks_chipsets[idx]; 429 d = serverworks_chipsets[idx];