From: Bartlomiej Zolnierkiewicz Date: Tue, 10 Jun 2008 18:56:38 +0000 (+0200) Subject: delkin_cb: add warm-plug support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96fe439ec9ca25b09e1458d86bd739757ae11ea1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;