Skip to content

Commit

Permalink
icside: fix PCB version 6 support (v2)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 2, 2009
1 parent 9711a53 commit d224b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/icside.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d224b62

Please sign in to comment.