]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
icside: register second channel of version 6 PCB
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 16 May 2009 17:03:36 +0000 (19:03 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 16 May 2009 17:03:36 +0000 (19:03 +0200)
The second IDE channel of version 6 PCB is not being registered anymore since
the commit 48c3c1072651922ed153bcf0a33ea82cf20df390 (ide: add struct ide_host
(take 3)).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/icside.c

index 4e16ce68b0630988a574f51270b12a4a49bd3dc5..36da913cc5532051ebbfc4ef260986238f60cbc0 100644 (file)
@@ -466,7 +466,7 @@ icside_register_v6(struct icside_state *state, struct expansion_card *ec)
        struct ide_host *host;
        unsigned int sel = 0;
        int ret;
-       hw_regs_t hw[2], *hws[] = { &hw[0], NULL, NULL, NULL };
+       hw_regs_t hw[2], *hws[] = { &hw[0], &hw[1], NULL, NULL };
        struct ide_port_info d = icside_v6_port_info;
 
        ioc_base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0);