]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
rapide: set hwif->chipset
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:04 +0000 (20:13 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:04 +0000 (20:13 +0100)
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>
drivers/ide/arm/rapide.c

index 0775a3afef4862d5e5b2b5646443cbcfdec1448c..c709d37ec095add8a7ddebbfa79524d095c2b6e8 100644 (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);
        if (hwif) {
+               hwif->chipset = ide_generic;
                hwif->hwif_data = base;
                hwif->gendev.parent = &ec->dev;
                hwif->noprobe = 0;