.. | .. |
---|
5 | 5 | #ifndef __PCIE_DW_DMATEST_H |
---|
6 | 6 | #define __PCIE_DW_DMATEST_H |
---|
7 | 7 | |
---|
| 8 | +struct dma_trx_obj; |
---|
| 9 | +struct device; |
---|
| 10 | + |
---|
8 | 11 | #if IS_ENABLED(CONFIG_PCIE_DW_DMATEST) |
---|
9 | | -struct dma_trx_obj *pcie_dw_dmatest_register(struct dw_pcie *pci, bool irq_en); |
---|
| 12 | +struct dma_trx_obj *pcie_dw_dmatest_register(struct device *dev, bool irq_en); |
---|
10 | 13 | #else |
---|
11 | | -static inline struct dma_trx_obj *pcie_dw_dmatest_register(struct dw_pcie *pci, bool irq_en) |
---|
| 14 | +static inline struct dma_trx_obj *pcie_dw_dmatest_register(struct device *dev, bool irq_en) |
---|
12 | 15 | { |
---|
13 | 16 | return NULL; |
---|
14 | 17 | } |
---|