tc86c001: init_hwif_tc86c001() can be static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Adrian Bunk 2007-02-07 18:18:52 +01:00 committed by Bartlomiej Zolnierkiewicz
parent 33dced2ea5
commit e8ab7f536f

View file

@ -204,7 +204,7 @@ static int tc86c001_config_drive_xfer_rate(ide_drive_t *drive)
return 0; return 0;
} }
void __devinit init_hwif_tc86c001(ide_hwif_t *hwif) static void __devinit init_hwif_tc86c001(ide_hwif_t *hwif)
{ {
unsigned long sc_base = pci_resource_start(hwif->pci_dev, 5); unsigned long sc_base = pci_resource_start(hwif->pci_dev, 5);
u16 scr1 = hwif->INW(sc_base + 0x00);; u16 scr1 = hwif->INW(sc_base + 0x00);;