summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-06-10 20:56:38 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-06-10 20:56:38 +0200
commit96fe439ec9ca25b09e1458d86bd739757ae11ea1 (patch)
tree584573cf7c42383e4baa5cd7081bcd4926a67ed0 /drivers/ide
parent1c4d4ad50ac5cc74c605c4a467db42c961ec7a69 (diff)
delkin_cb: add warm-plug support
Don't fail the probe if there are no devices attached to the controller. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/pci/delkin_cb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c
index 1b69e4dd5522..538f8045d416 100644
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drivers/ide/pci/delkin_cb.c
@@ -100,15 +100,11 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id)
ide_device_add(idx, &delkin_cb_port_info);
- if (!hwif->present)
- goto out_disable;
-
pci_set_drvdata(dev, hwif);
return 0;
out_disable:
- printk(KERN_ERR "delkin_cb: no IDE devices found\n");
pci_release_regions(dev);
pci_disable_device(dev);
return -ENODEV;