rapide: set hwif->chipset

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

Cc: Russell King <rmk@arm.linux.org.uk>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2008-01-26 20:13:04 +01:00
parent 2e13093a83
commit 23d8e72c3a
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id)
hwif = rapide_locate_hwif(base, base + 0x818, 1 << 6, ec->irq); hwif = rapide_locate_hwif(base, base + 0x818, 1 << 6, ec->irq);
if (hwif) { if (hwif) {
hwif->chipset = ide_generic;
hwif->hwif_data = base; hwif->hwif_data = base;
hwif->gendev.parent = &ec->dev; hwif->gendev.parent = &ec->dev;
hwif->noprobe = 0; hwif->noprobe = 0;