diff mbox

[v4,01/12] lib/Kconfig: add HAS_DMA_P2P for peer-to-peer support

Message ID 1437601197-6481-2-git-send-email-wdavis@nvidia.com
State Changes Requested
Headers show

Commit Message

wdavis@nvidia.com July 22, 2015, 9:39 p.m. UTC
This option is dependent on HAS_DMA, and indicates whether or not the DMA
API should include the peer resource (P2P) interfaces.

Signed-off-by: Will Davis <wdavis@nvidia.com>
 lib/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox


diff --git a/lib/Kconfig b/lib/Kconfig
index 3a2ef67..0b670ab 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -392,6 +392,11 @@  config HAS_DMA
 	depends on !NO_DMA
 	default y
+config HAS_DMA_P2P
+	bool
+	depends on HAS_DMA
+	default n