]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-tape: simplify code branching in the interrupt handler
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 6 Feb 2008 01:57:52 +0000 (02:57 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 6 Feb 2008 01:57:52 +0000 (02:57 +0100)
commita1efc85f0b4d48627ef0b2aeb766a39fb4a00561
tree208a4a35448ce2fa644c3d084ea6eefd93a14112
parent37016bab601c2fecfe833d2feda42e6c6f9b08c8
ide-tape: simplify code branching in the interrupt handler

... by adding a new typedef function pointer idetape_io_buf in order to call
the proper buffer i/o handler depending on the data direction.

Bart:
- move idetape_io_buf before idetape_pc_intr() comment

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c