diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-09-07 00:48:56 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-09-07 00:48:56 +0000 |
commit | ac7a6b6b94fcc38b6860db0f75e0069cc8010deb (patch) | |
tree | 598b61e0aaef7096bf515f4cf1624f4cc3fd49d0 /sys/dev | |
parent | a535da551921ca4dcac325219a294a4a1b1d8a2f (diff) |
define away dma_set_max_seg_size()
needed for a future linux 4.19 change
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/include/linux/dma-mapping.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/dma-mapping.h b/sys/dev/pci/drm/include/linux/dma-mapping.h index 7b3d77a52bf..5c33c31c5ea 100644 --- a/sys/dev/pci/drm/include/linux/dma-mapping.h +++ b/sys/dev/pci/drm/include/linux/dma-mapping.h @@ -8,5 +8,6 @@ #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : (1ULL<<(n)) -1) #define dma_set_coherent_mask(x, y) 0 +#define dma_set_max_seg_size(x, y) 0 #endif |