diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 9ab5892eaea1..f0c162488ec4 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1609,6 +1609,9 @@ struct ide_host *ide_host_alloc_all(const struct ide_port_info *d, | |||
1609 | if (hws[0]) | 1609 | if (hws[0]) |
1610 | host->dev[0] = hws[0]->dev; | 1610 | host->dev[0] = hws[0]->dev; |
1611 | 1611 | ||
1612 | if (d) | ||
1613 | host->host_flags = d->host_flags; | ||
1614 | |||
1612 | return host; | 1615 | return host; |
1613 | } | 1616 | } |
1614 | EXPORT_SYMBOL_GPL(ide_host_alloc_all); | 1617 | EXPORT_SYMBOL_GPL(ide_host_alloc_all); |