dma-direct: avoid a forward declaration for phys_to_dma
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Nov 2019 16:07:43 +0000 (17:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Nov 2019 19:31:40 +0000 (20:31 +0100)
commitc7345159f7db6fb69ec1c3b3f8f28cd05c731be2
tree373b0b3b81ef60f5305bb5b34833efabe7a03c07
parent130c1ccbf55330b55e82612a6e54eebb82c9d746
dma-direct: avoid a forward declaration for phys_to_dma

Move dma_capable down a bit so that we don't need a forward declaration
for phys_to_dma.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
include/linux/dma-direct.h