]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: add ->tf_load and ->tf_read methods
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 28 Apr 2008 21:44:40 +0000 (23:44 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 28 Apr 2008 21:44:40 +0000 (23:44 +0200)
commit94cd5b62ff9bb07ef065333eb97438f115a75890
treec09f78987100b745ee5bb67df953469c0d24e618
parentd309e0bb8e5f29692f10790f3e966f05bbfc9355
ide: add ->tf_load and ->tf_read methods

* Add ->tf_load and ->tf_read methods to ide_hwif_t and set the default
  methods in default_hwif_transport().

* Use ->tf_{load,read} instead o calling ide_tf_{load,read}() directly.

* Make ide_tf_{load,read}() static.

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
drivers/ide/ide-iops.c
drivers/ide/ide-lib.c
drivers/ide/ide-taskfile.c
include/linux/ide.h