diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:20 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:20 -0400 |
commit | 5e59c236846df444860ffc8b852117f9ff65c101 (patch) | |
tree | 187ce0b44b80e52e26a963196b1ab017764d3f2c /include/linux/ide.h | |
parent | 0a79acd40d1ee8b6bf217a519eee422ed7e6da6b (diff) |
ide: remove ->cds field from ide_hwif_t (take 2)
* Use hwif->name instead of cds->name in ide_allocate_dma_engine().
* Use pci_name(dev) instead of cds->name in init_dma_pdc202xx().
* Remove no longer needed ->cds field from ide_hwif_t.
v2:
* scc_pata.c also needs to be updated now (noticed by Stephen Rothwell).
There should be no functional changes caused by this patch.
Cc: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Cc: Akira Iguchi <akira2.iguchi@toshiba.co.jp>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 171f8056d052..989fe78b354f 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -446,8 +446,6 @@ typedef struct hwif_s { | |||
446 | 446 | ||
447 | struct device *dev; | 447 | struct device *dev; |
448 | 448 | ||
449 | const struct ide_port_info *cds; /* chipset device struct */ | ||
450 | |||
451 | ide_ack_intr_t *ack_intr; | 449 | ide_ack_intr_t *ack_intr; |
452 | 450 | ||
453 | void (*rw_disk)(ide_drive_t *, struct request *); | 451 | void (*rw_disk)(ide_drive_t *, struct request *); |