diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:34 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:34 -0400 |
commit | 039788e1532368eeca1071a873c14e03920cdf38 (patch) | |
tree | b12c736f5e6c96aebdca38155fe93c1ab377cda4 /drivers/ide/pci/via82cxxx.c | |
parent | 6157332edabdf77ccae2a033b53bbc9ae1d70ede (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/via82cxxx.c')
-rw-r--r-- | drivers/ide/pci/via82cxxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index 0860b90f1550..69a2a2c177e7 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
@@ -432,7 +432,7 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif) | |||
432 | hwif->cbl = via82cxxx_cable_detect(hwif); | 432 | hwif->cbl = via82cxxx_cable_detect(hwif); |
433 | } | 433 | } |
434 | 434 | ||
435 | static ide_pci_device_t via82cxxx_chipset __devinitdata = { | 435 | static struct ide_port_info via82cxxx_chipset __devinitdata = { |
436 | .name = "VP_IDE", | 436 | .name = "VP_IDE", |
437 | .init_chipset = init_chipset_via82cxxx, | 437 | .init_chipset = init_chipset_via82cxxx, |
438 | .init_hwif = init_hwif_via82cxxx, | 438 | .init_hwif = init_hwif_via82cxxx, |
@@ -452,7 +452,7 @@ static int __devinit via_init_one(struct pci_dev *dev, const struct pci_device_i | |||
452 | struct pci_dev *isa = NULL; | 452 | struct pci_dev *isa = NULL; |
453 | struct via_isa_bridge *via_config; | 453 | struct via_isa_bridge *via_config; |
454 | u8 idx = id->driver_data; | 454 | u8 idx = id->driver_data; |
455 | ide_pci_device_t d; | 455 | struct ide_port_info d; |
456 | 456 | ||
457 | d = via82cxxx_chipset; | 457 | d = via82cxxx_chipset; |
458 | 458 | ||