From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 08:53:19 +0000
Subject: [PATCH] change otg to host mode

---
 kernel/drivers/pci/endpoint/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/drivers/pci/endpoint/Kconfig b/kernel/drivers/pci/endpoint/Kconfig
index d1e7e41..17bbdc9 100644
--- a/kernel/drivers/pci/endpoint/Kconfig
+++ b/kernel/drivers/pci/endpoint/Kconfig
@@ -7,7 +7,7 @@
 
 config PCI_ENDPOINT
 	bool "PCI Endpoint Support"
-	depends on HAS_DMA
+	depends on HAVE_PCI
 	help
 	   Enable this configuration option to support configurable PCI
 	   endpoint. This should be enabled if the platform has a PCI

--
Gitblit v1.6.2