summaryrefslogtreecommitdiffstats
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
commitfb374966ba13ccac341499eaefecd58a96bafb59 (patch)
tree7b77fdc9df9c57c1ea4cd0049434572918499f38
parentf4084a1d18d618bb360bc72713a3bc2b8375e12f (diff)
downloadop-kernel-dev-fb374966ba13ccac341499eaefecd58a96bafb59.zip
op-kernel-dev-fb374966ba13ccac341499eaefecd58a96bafb59.tar.gz
palm_bk3710: add warm-plug support
Don't fail the probe if there are no devices attached to the controller. Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/ide/arm/palm_bk3710.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/arm/palm_bk3710.c b/drivers/ide/arm/palm_bk3710.c
index 96378eb..d024ac8 100644
--- a/drivers/ide/arm/palm_bk3710.c
+++ b/drivers/ide/arm/palm_bk3710.c
@@ -409,9 +409,6 @@ static int __devinit palm_bk3710_probe(struct platform_device *pdev)
ide_device_add(idx, &palm_bk3710_port_info);
- if (!hwif->present)
- goto out;
-
return 0;
out:
printk(KERN_WARNING "Palm Chip BK3710 IDE Register Fail\n");
OpenPOWER on IntegriCloud