1
0
Fork 0

icside: fix PCB version 6 support (v2)

We need to pass struct ide_port_info also to ide_host_register().

v2:
Fix v5/v6 mismatch noticed by Russell.

Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
hifive-unleashed-5.1
Bartlomiej Zolnierkiewicz 2009-02-02 20:12:23 +01:00
parent 9711a53721
commit d224b6269e
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ icside_register_v6(struct icside_state *state, struct expansion_card *ec)
d.dma_ops = NULL;
}
ret = ide_host_register(host, NULL, hws);
ret = ide_host_register(host, &d, hws);
if (ret)
goto err_free;