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: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 9711a537
...@@ -534,7 +534,7 @@ icside_register_v6(struct icside_state *state, struct expansion_card *ec) ...@@ -534,7 +534,7 @@ icside_register_v6(struct icside_state *state, struct expansion_card *ec)
d.dma_ops = NULL; d.dma_ops = NULL;
} }
ret = ide_host_register(host, NULL, hws); ret = ide_host_register(host, &d, hws);
if (ret) if (ret)
goto err_free; goto err_free;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册