]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit589b06262021f8d52847c9389acf26e95c6b3732
tree35eefd506b4c34c24752bd411a2251302ade8724
parent84f05df49a7376037f8b9fa1135df5a08cc32070
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