spi: fsl-espi: improve return value handling in fsl_espi_probe
[cascardo/linux.git] / tools / virtio / linux / dma-mapping.h
1 #ifndef _LINUX_DMA_MAPPING_H
2 #define _LINUX_DMA_MAPPING_H
3
4 #ifdef CONFIG_HAS_DMA
5 # error Virtio userspace code does not support CONFIG_HAS_DMA
6 #endif
7
8 #define PCI_DMA_BUS_IS_PHYS 1
9
10 enum dma_data_direction {
11         DMA_BIDIRECTIONAL = 0,
12         DMA_TO_DEVICE = 1,
13         DMA_FROM_DEVICE = 2,
14         DMA_NONE = 3,
15 };
16
17 #endif