diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-06-10 20:56:38 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-06-10 20:56:38 +0200 |
commit | fb374966ba13ccac341499eaefecd58a96bafb59 (patch) | |
tree | 7b77fdc9df9c57c1ea4cd0049434572918499f38 | |
parent | f4084a1d18d618bb360bc72713a3bc2b8375e12f (diff) | |
download | op-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.c | 3 |
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"); |