From f45e756958099c35d6afb746df1d40a1c6302cfc Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 07 Nov 2023 06:20:23 +0000
Subject: [PATCH] enable wifi gpio
---
kernel/drivers/pci/controller/dwc/pcie-dw-dmatest.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/kernel/drivers/pci/controller/dwc/pcie-dw-dmatest.h b/kernel/drivers/pci/controller/dwc/pcie-dw-dmatest.h
index 524f5b5..cfed7aa 100644
--- a/kernel/drivers/pci/controller/dwc/pcie-dw-dmatest.h
+++ b/kernel/drivers/pci/controller/dwc/pcie-dw-dmatest.h
@@ -5,10 +5,13 @@
#ifndef __PCIE_DW_DMATEST_H
#define __PCIE_DW_DMATEST_H
+struct dma_trx_obj;
+struct device;
+
#if IS_ENABLED(CONFIG_PCIE_DW_DMATEST)
-struct dma_trx_obj *pcie_dw_dmatest_register(struct dw_pcie *pci, bool irq_en);
+struct dma_trx_obj *pcie_dw_dmatest_register(struct device *dev, bool irq_en);
#else
-static inline struct dma_trx_obj *pcie_dw_dmatest_register(struct dw_pcie *pci, bool irq_en)
+static inline struct dma_trx_obj *pcie_dw_dmatest_register(struct device *dev, bool irq_en)
{
return NULL;
}
--
Gitblit v1.6.2