]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: remove ->cds field from ide_hwif_t (take 2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:20 +0000 (22:25 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 20:25:20 +0000 (22:25 +0200)
commit5e59c236846df444860ffc8b852117f9ff65c101
tree187ce0b44b80e52e26a963196b1ab017764d3f2c
parent0a79acd40d1ee8b6bf217a519eee422ed7e6da6b
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>
drivers/ide/ide-dma.c
drivers/ide/pci/pdc202xx_old.c
drivers/ide/pci/scc_pata.c
drivers/ide/setup-pci.c
include/linux/ide.h