]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
it821x: use ide_get_pair_dev() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:20:56 +0000 (17:20 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:20:56 +0000 (17:20 +0100)
commit07af5a5b0241422e4ca2dd114eaa1d7ad0165cb5
treee737f7d5682fced43efff418372ea774369574ca
parent5d44a1502ff711bea2a9b2bf2fbd2503081cf3be
it821x: use ide_get_pair_dev() helper

Because presence of the peer device was not checked in
it821x_set_pio_mode() PIO0 mode was used for taskfile PIO
in single device configurations.

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