diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:04 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:04 -0500 |
commit | 23d8e72c3a813f2121878120bc49de2cd390119b (patch) | |
tree | 9dd37789fdb067475609aa7dde03793dddac50d3 /drivers/ide | |
parent | 2e13093a834ddbbf92701d477e69c9018959a82c (diff) |
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>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/arm/rapide.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/arm/rapide.c b/drivers/ide/arm/rapide.c index 0775a3afef48..c709d37ec095 100644 --- a/drivers/ide/arm/rapide.c +++ b/drivers/ide/arm/rapide.c | |||
@@ -55,6 +55,7 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
55 | 55 | ||
56 | hwif = rapide_locate_hwif(base, base + 0x818, 1 << 6, ec->irq); | 56 | hwif = rapide_locate_hwif(base, base + 0x818, 1 << 6, ec->irq); |
57 | if (hwif) { | 57 | if (hwif) { |
58 | hwif->chipset = ide_generic; | ||
58 | hwif->hwif_data = base; | 59 | hwif->hwif_data = base; |
59 | hwif->gendev.parent = &ec->dev; | 60 | hwif->gendev.parent = &ec->dev; |
60 | hwif->noprobe = 0; | 61 | hwif->noprobe = 0; |