diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:09 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:09 -0400 |
commit | aaf707f061d5d87c9f671caa2904cd41c1c1a99e (patch) | |
tree | b0b0bb3d316b52cfe0906db87d6ae10d59fa7da0 /drivers/ide/pci | |
parent | 97f84baa030c9e2d235e26e4a96fe7e294049cb0 (diff) |
scc_pata: remove ->init_setup
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci')
-rw-r--r-- | drivers/ide/pci/scc_pata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c index 2b1d5bd0009f..8ae8f31c41d3 100644 --- a/drivers/ide/pci/scc_pata.c +++ b/drivers/ide/pci/scc_pata.c | |||
@@ -698,7 +698,6 @@ static void __devinit init_hwif_scc(ide_hwif_t *hwif) | |||
698 | #define DECLARE_SCC_DEV(name_str) \ | 698 | #define DECLARE_SCC_DEV(name_str) \ |
699 | { \ | 699 | { \ |
700 | .name = name_str, \ | 700 | .name = name_str, \ |
701 | .init_setup = init_setup_scc, \ | ||
702 | .init_iops = init_iops_scc, \ | 701 | .init_iops = init_iops_scc, \ |
703 | .init_hwif = init_hwif_scc, \ | 702 | .init_hwif = init_hwif_scc, \ |
704 | .host_flags = IDE_HFLAG_SINGLE | \ | 703 | .host_flags = IDE_HFLAG_SINGLE | \ |
@@ -722,7 +721,8 @@ static ide_pci_device_t scc_chipsets[] __devinitdata = { | |||
722 | static int __devinit scc_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 721 | static int __devinit scc_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
723 | { | 722 | { |
724 | ide_pci_device_t *d = &scc_chipsets[id->driver_data]; | 723 | ide_pci_device_t *d = &scc_chipsets[id->driver_data]; |
725 | return d->init_setup(dev, d); | 724 | |
725 | return init_setup_scc(dev, d); | ||
726 | } | 726 | } |
727 | 727 | ||
728 | /** | 728 | /** |