]> git.baikalelectronics.ru Git - kernel.git/commit
ioat: cleanup ->timer_fn() and ->cleanup_fn() prototypes
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 Mar 2010 04:21:13 +0000 (21:21 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 Mar 2010 04:21:13 +0000 (21:21 -0700)
commit007a97b87162dbd66bfea1445cfb8276d4090c4d
tree5c98641f00a7866e28a364861b9af9b6df606fdd
parent5968579bb2aa48c0b720822c7991be9ea4d362d4
ioat: cleanup ->timer_fn() and ->cleanup_fn() prototypes

If the calling convention of ->timer_fn() and ->cleanup_fn() are unified
across hardware versions we can drop parameters to ioat_init_channel() and
unify ioat_is_dma_complete() implementations.

Both ->timer_fn() and ->cleanup_fn() are modified to expect a struct
dma_chan pointer.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h
drivers/dma/ioat/dma_v2.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/dma_v3.c