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/aec62xx.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/aec62xx.c')
-rw-r--r-- | drivers/ide/pci/aec62xx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/pci/aec62xx.c b/drivers/ide/pci/aec62xx.c index 58fc670f913a..b2dd8ce06b93 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c | |||
@@ -194,7 +194,7 @@ static void __devinit init_hwif_aec62xx(ide_hwif_t *hwif) | |||
194 | } | 194 | } |
195 | } | 195 | } |
196 | 196 | ||
197 | static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | 197 | static struct ide_port_info aec62xx_chipsets[] __devinitdata = { |
198 | { /* 0 */ | 198 | { /* 0 */ |
199 | .name = "AEC6210", | 199 | .name = "AEC6210", |
200 | .init_chipset = init_chipset_aec62xx, | 200 | .init_chipset = init_chipset_aec62xx, |
@@ -253,12 +253,12 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
253 | * finds a device matching our IDE device tables. | 253 | * finds a device matching our IDE device tables. |
254 | * | 254 | * |
255 | * NOTE: since we're going to modify the 'name' field for AEC-6[26]80[R] | 255 | * NOTE: since we're going to modify the 'name' field for AEC-6[26]80[R] |
256 | * chips, pass a local copy of 'struct pci_device_id' down the call chain. | 256 | * chips, pass a local copy of 'struct ide_port_info' down the call chain. |
257 | */ | 257 | */ |
258 | 258 | ||
259 | static int __devinit aec62xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 259 | static int __devinit aec62xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
260 | { | 260 | { |
261 | ide_pci_device_t d; | 261 | struct ide_port_info d; |
262 | u8 idx = id->driver_data; | 262 | u8 idx = id->driver_data; |
263 | 263 | ||
264 | d = aec62xx_chipsets[idx]; | 264 | d = aec62xx_chipsets[idx]; |