From: Bartlomiej Zolnierkiewicz Date: Mon, 2 Feb 2009 19:12:23 +0000 (+0100) Subject: icside: fix PCB version 6 support (v2) X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d224b6269e4731a82f648bb0281ea1a4d8b3311d;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/icside.c b/drivers/ide/icside.c index 97a35c667ae..415d7e24f2b 100644 --- a/drivers/ide/icside.c +++ b/drivers/ide/icside.c @@ -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;