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)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:26 +0000 (16:33 +0100)
commit06d6fbbd4ee3e343a8716750c8a80e49bf359ecb
treea75df8f569d82836c8c7da4aebadf97ee83b2bad
parent731addc824899687bc551bc4200b8359bedcaecb
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>
(cherry picked from commit c7345159f7db6fb69ec1c3b3f8f28cd05c731be2)
include/linux/dma-direct.h