diff options
Diffstat (limited to 'drivers/ide/pci/hpt366.c')
-rw-r--r-- | drivers/ide/pci/hpt366.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index 6a1c65c3be3e..5271b246b88c 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c | |||
@@ -970,11 +970,12 @@ static int __devinit hpt37x_calibrate_dpll(struct pci_dev *dev, u16 f_low, u16 f | |||
970 | return 1; | 970 | return 1; |
971 | } | 971 | } |
972 | 972 | ||
973 | static unsigned int __devinit init_chipset_hpt366(struct pci_dev *dev, const char *name) | 973 | static unsigned int __devinit init_chipset_hpt366(struct pci_dev *dev) |
974 | { | 974 | { |
975 | unsigned long io_base = pci_resource_start(dev, 4); | 975 | unsigned long io_base = pci_resource_start(dev, 4); |
976 | struct ide_host *host = pci_get_drvdata(dev); | 976 | struct ide_host *host = pci_get_drvdata(dev); |
977 | struct hpt_info *info = host->host_priv + (&dev->dev == host->dev[1]); | 977 | struct hpt_info *info = host->host_priv + (&dev->dev == host->dev[1]); |
978 | const char *name = DRV_NAME; | ||
978 | u8 pci_clk, dpll_clk = 0; /* PCI and DPLL clock in MHz */ | 979 | u8 pci_clk, dpll_clk = 0; /* PCI and DPLL clock in MHz */ |
979 | u8 chip_type; | 980 | u8 chip_type; |
980 | enum ata_clock clock; | 981 | enum ata_clock clock; |