From 9981d1abf4b52e84a432fc9bdfbdd30d1838819d Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 16 Jun 2014 21:02:25 +0200 Subject: [PATCH] backports: Revert "remove parameter from dma_buf_export()" The linux commit which made backports need this patch was removed from linux-next. This reverts commit 6e1b080e83f1537d8d198917180d0a8bdfd7e0c9. Signed-off-by: Hauke Mehrtens --- backport/backport-include/linux/dma-buf.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/backport/backport-include/linux/dma-buf.h b/backport/backport-include/linux/dma-buf.h index 85a153105c3a..363b86fee502 100644 --- a/backport/backport-include/linux/dma-buf.h +++ b/backport/backport-include/linux/dma-buf.h @@ -5,13 +5,4 @@ #include_next #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0) -#define dma_buf_export(priv, ops, size, flags, resv) \ - dma_buf_export(priv, ops, size, flags) -#elif LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0) -#undef dma_buf_export -#define dma_buf_export(priv, ops, size, flags, resv) \ - dma_buf_export_named(priv, ops, size, flags, KBUILD_MODNAME) -#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) */ - #endif /* _BACKPORT_DMA_BUF_H__ */ -- 2.30.2