Loading drivers/ide/arm/rapide.c +15 −13 Original line number Diff line number Diff line Loading @@ -48,15 +48,18 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id) goto release; } hwif = ide_find_port(); if (hwif) { memset(&hw, 0, sizeof(hw)); rapide_setup_ports(&hw, base, base + 0x818, 1 << 6, ec->irq); hw.chipset = ide_generic; hw.dev = &ec->dev; ide_init_port_hw(hwif, &hw); hwif = ide_find_port(); if (hwif == NULL) { ret = -ENOENT; goto release; } ide_init_port_hw(hwif, &hw); default_hwif_mmiops(hwif); idx[0] = hwif->index; Loading @@ -65,7 +68,6 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id) ecard_set_drvdata(ec, hwif); goto out; } release: ecard_release_resources(ec); Loading Loading
drivers/ide/arm/rapide.c +15 −13 Original line number Diff line number Diff line Loading @@ -48,15 +48,18 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id) goto release; } hwif = ide_find_port(); if (hwif) { memset(&hw, 0, sizeof(hw)); rapide_setup_ports(&hw, base, base + 0x818, 1 << 6, ec->irq); hw.chipset = ide_generic; hw.dev = &ec->dev; ide_init_port_hw(hwif, &hw); hwif = ide_find_port(); if (hwif == NULL) { ret = -ENOENT; goto release; } ide_init_port_hw(hwif, &hw); default_hwif_mmiops(hwif); idx[0] = hwif->index; Loading @@ -65,7 +68,6 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id) ecard_set_drvdata(ec, hwif); goto out; } release: ecard_release_resources(ec); Loading