staging: unisys: include: fix improper use of dma_data_direction
authorSteven Matthews <steven.matthews@unisys.com>
Tue, 22 Aug 2017 17:27:02 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2017 21:56:03 +0000 (14:56 -0700)
commit55515a30d2e583908145817df2fdf31fa04b4401
tree339df03186b25a50fd8e7c167dfe73ba97303987
parent12cbd490435ceef86828f66011ece4187a2cbb7d
staging: unisys: include: fix improper use of dma_data_direction

Replace use of standard Linux dma_data_direction with a Unisys-
specific uis_dma_data_direction and provide a function to convert
from the latter to the former.  This is necessary because Unisys
s-Par depends on the exact format of this field in multiple OSs
and languages, and so using the standard version creates an
unnecessary dependency between the kernel and s-Par.

Signed-off-by: Steven Matthews <steven.matthews@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/iochannel.h
drivers/staging/unisys/visorhba/visorhba_main.c