Skip to contentSkip to conversation

rapide: set hwif->chipset

PATCH In review Bartlomiej Zolnierkiewicz 2 participants 2 messages Nov 18, 2007 – Nov 27, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 11/21 rapide: set hwif->chipset

hwif->chipset should be set if the hwif is claimed by host driver.

---
 drivers/ide/arm/rapide.c |    1 +
 1 file changed, 1 insertion(+)
drivers/ide/arm/rapide.c +1 -0
Index: b/drivers/ide/arm/rapide.c
===================================================================
@@ -55,6 +55,7 @@ rapide_probe(struct expansion_card *ec, 
 
 	hwif = rapide_locate_hwif(base, base + 0x818, 1 << 6, ec->irq);
 	if (hwif) {
+		hwif->chipset = ide_generic;
 		hwif->hwif_data = base;
 		hwif->gendev.parent = &ec->dev;
 		hwif->noprobe = 0;