aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/arm/bast-ide.c2
-rw-r--r--drivers/ide/arm/rapide.c2
-rw-r--r--drivers/ide/ide-pnp.c2
-rw-r--r--drivers/ide/legacy/ide-cs.c4
-rw-r--r--drivers/ide/legacy/ide_platform.c2
-rw-r--r--drivers/ide/mips/au1xxx-ide.c2
-rw-r--r--drivers/ide/pci/delkin_cb.c4
-rw-r--r--drivers/ide/pci/scc_pata.c2
8 files changed, 10 insertions, 10 deletions
diff --git a/drivers/ide/arm/bast-ide.c b/drivers/ide/arm/bast-ide.c
index 2864f5aca3f1..0e7574c0ee60 100644
--- a/drivers/ide/arm/bast-ide.c
+++ b/drivers/ide/arm/bast-ide.c
@@ -53,7 +53,7 @@ bastide_register(unsigned int base, unsigned int aux, int irq,
53 i = hwif->index; 53 i = hwif->index;
54 54
55 if (hwif->present) 55 if (hwif->present)
56 ide_unregister(i, 0, 1); 56 ide_unregister(i, 0, 0);
57 else if (!hwif->hold) 57 else if (!hwif->hold)
58 ide_init_port_data(hwif, i); 58 ide_init_port_data(hwif, i);
59 59
diff --git a/drivers/ide/arm/rapide.c b/drivers/ide/arm/rapide.c
index 823d3331318d..efba00d2fc37 100644
--- a/drivers/ide/arm/rapide.c
+++ b/drivers/ide/arm/rapide.c
@@ -76,7 +76,7 @@ static void __devexit rapide_remove(struct expansion_card *ec)
76 76
77 ecard_set_drvdata(ec, NULL); 77 ecard_set_drvdata(ec, NULL);
78 78
79 ide_unregister(hwif->index, 1, 1); 79 ide_unregister(hwif->index, 0, 0);
80 80
81 ecard_release_resources(ec); 81 ecard_release_resources(ec);
82} 82}
diff --git a/drivers/ide/ide-pnp.c b/drivers/ide/ide-pnp.c
index a766bdbbad38..b163b2e52212 100644
--- a/drivers/ide/ide-pnp.c
+++ b/drivers/ide/ide-pnp.c
@@ -62,7 +62,7 @@ static void idepnp_remove(struct pnp_dev * dev)
62 ide_hwif_t *hwif = pnp_get_drvdata(dev); 62 ide_hwif_t *hwif = pnp_get_drvdata(dev);
63 63
64 if (hwif) 64 if (hwif)
65 ide_unregister(hwif->index, 1, 1); 65 ide_unregister(hwif->index, 0, 0);
66 else 66 else
67 printk(KERN_ERR "idepnp: Unable to remove device, please report.\n"); 67 printk(KERN_ERR "idepnp: Unable to remove device, please report.\n");
68} 68}
diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c
index 38e87ad211e0..7c4aa6c79a9f 100644
--- a/drivers/ide/legacy/ide-cs.c
+++ b/drivers/ide/legacy/ide-cs.c
@@ -163,7 +163,7 @@ static int idecs_register(unsigned long io, unsigned long ctl, unsigned long irq
163 i = hwif->index; 163 i = hwif->index;
164 164
165 if (hwif->present) 165 if (hwif->present)
166 ide_unregister(i, 0, 1); 166 ide_unregister(i, 0, 0);
167 else if (!hwif->hold) 167 else if (!hwif->hold)
168 ide_init_port_data(hwif, i); 168 ide_init_port_data(hwif, i);
169 169
@@ -360,7 +360,7 @@ void ide_release(struct pcmcia_device *link)
360 if (info->ndev) { 360 if (info->ndev) {
361 /* FIXME: if this fails we need to queue the cleanup somehow 361 /* FIXME: if this fails we need to queue the cleanup somehow
362 -- need to investigate the required PCMCIA magic */ 362 -- need to investigate the required PCMCIA magic */
363 ide_unregister(info->hd, 1, 1); 363 ide_unregister(info->hd, 0, 0);
364 } 364 }
365 info->ndev = 0; 365 info->ndev = 0;
366 366
diff --git a/drivers/ide/legacy/ide_platform.c b/drivers/ide/legacy/ide_platform.c
index c0dd67f4af32..26c82ce602de 100644
--- a/drivers/ide/legacy/ide_platform.c
+++ b/drivers/ide/legacy/ide_platform.c
@@ -122,7 +122,7 @@ static int __devexit plat_ide_remove(struct platform_device *pdev)
122{ 122{
123 ide_hwif_t *hwif = pdev->dev.driver_data; 123 ide_hwif_t *hwif = pdev->dev.driver_data;
124 124
125 ide_unregister(hwif->index, 1, 1); 125 ide_unregister(hwif->index, 0, 0);
126 126
127 return 0; 127 return 0;
128} 128}
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c
index 66a675a10f13..484a9287bf84 100644
--- a/drivers/ide/mips/au1xxx-ide.c
+++ b/drivers/ide/mips/au1xxx-ide.c
@@ -678,7 +678,7 @@ static int au_ide_remove(struct device *dev)
678 ide_hwif_t *hwif = dev_get_drvdata(dev); 678 ide_hwif_t *hwif = dev_get_drvdata(dev);
679 _auide_hwif *ahwif = &auide_hwif; 679 _auide_hwif *ahwif = &auide_hwif;
680 680
681 ide_unregister(hwif->index, 1, 1); 681 ide_unregister(hwif->index, 0, 0);
682 682
683 iounmap((void *)ahwif->regbase); 683 iounmap((void *)ahwif->regbase);
684 684
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c
index 15670801a67f..3f9cd64c26a6 100644
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drivers/ide/pci/delkin_cb.c
@@ -85,7 +85,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id)
85 i = hwif->index; 85 i = hwif->index;
86 86
87 if (hwif->present) 87 if (hwif->present)
88 ide_unregister(i, 0, 1); 88 ide_unregister(i, 0, 0);
89 else if (!hwif->hold) 89 else if (!hwif->hold)
90 ide_init_port_data(hwif, i); 90 ide_init_port_data(hwif, i);
91 91
@@ -120,7 +120,7 @@ delkin_cb_remove (struct pci_dev *dev)
120 ide_hwif_t *hwif = pci_get_drvdata(dev); 120 ide_hwif_t *hwif = pci_get_drvdata(dev);
121 121
122 if (hwif) 122 if (hwif)
123 ide_unregister(hwif->index, 1, 1); 123 ide_unregister(hwif->index, 0, 0);
124 124
125 pci_disable_device(dev); 125 pci_disable_device(dev);
126} 126}
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c
index 7e52a55c86cc..238e3e181e87 100644
--- a/drivers/ide/pci/scc_pata.c
+++ b/drivers/ide/pci/scc_pata.c
@@ -736,7 +736,7 @@ static void __devexit scc_remove(struct pci_dev *dev)
736 hwif->dmatable_cpu = NULL; 736 hwif->dmatable_cpu = NULL;
737 } 737 }
738 738
739 ide_unregister(hwif->index, 1, 1); 739 ide_unregister(hwif->index, 0, 0);
740 740
741 hwif->chipset = ide_unknown; 741 hwif->chipset = ide_unknown;
742 iounmap((void*)ports->dma); 742 iounmap((void*)ports->dma);