Skip to contentSkip to conversation

palm_bk3710: add warm-plug support

PATCH New Bartlomiej Zolnierkiewicz 1 participant 1 message Jun 8, 2008 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 palm_bk3710: add warm-plug support

Don't fail the probe if there are no devices attached to the controller.

---
 drivers/ide/arm/palm_bk3710.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/ide/arm/palm_bk3710.c +0 -3
Index: b/drivers/ide/arm/palm_bk3710.c
===================================================================
@@ -405,9 +405,6 @@ static int __devinit palm_bk3710_probe(s
 
 	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");