]> git.baikalelectronics.ru Git - kernel.git/commit
scc_pata: store 'hwif' pointer in struct scc_ports
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:34 +0000 (17:36 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:34 +0000 (17:36 +0200)
commit6dfdfad18f539d34e94dc3f3104e5a4b424a1642
tree35eefd506b4c34c24752bd411a2251302ade8724
parent9d365513eeb86099c4423458e218d6cfd47b7d55
scc_pata: store 'hwif' pointer in struct scc_ports

Replace 'unsigned char hwif_id' by 'ide_hwif_t *hwif' in struct scc_ports.
This allows us to remove ide_hwifs[] usage from scc_remove().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/scc_pata.c