Skip to content
Snippets Groups Projects
Commit aaf707f0 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

scc_pata: remove ->init_setup

parent 97f84baa
No related branches found
No related tags found
No related merge requests found
...@@ -698,7 +698,6 @@ static void __devinit init_hwif_scc(ide_hwif_t *hwif) ...@@ -698,7 +698,6 @@ static void __devinit init_hwif_scc(ide_hwif_t *hwif)
#define DECLARE_SCC_DEV(name_str) \ #define DECLARE_SCC_DEV(name_str) \
{ \ { \
.name = name_str, \ .name = name_str, \
.init_setup = init_setup_scc, \
.init_iops = init_iops_scc, \ .init_iops = init_iops_scc, \
.init_hwif = init_hwif_scc, \ .init_hwif = init_hwif_scc, \
.host_flags = IDE_HFLAG_SINGLE | \ .host_flags = IDE_HFLAG_SINGLE | \
...@@ -722,7 +721,8 @@ static ide_pci_device_t scc_chipsets[] __devinitdata = { ...@@ -722,7 +721,8 @@ static ide_pci_device_t scc_chipsets[] __devinitdata = {
static int __devinit scc_init_one(struct pci_dev *dev, const struct pci_device_id *id) static int __devinit scc_init_one(struct pci_dev *dev, const struct pci_device_id *id)
{ {
ide_pci_device_t *d = &scc_chipsets[id->driver_data]; ide_pci_device_t *d = &scc_chipsets[id->driver_data];
return d->init_setup(dev, d);
return init_setup_scc(dev, d);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment