diff options
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/ioat/dma.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/dma/ioat/dma.h b/drivers/dma/ioat/dma.h index c5eabae4c1b9..6e27ddb1e98a 100644 --- a/drivers/dma/ioat/dma.h +++ b/drivers/dma/ioat/dma.h | |||
@@ -153,19 +153,10 @@ static inline void ioat_set_tcp_copy_break(struct ioatdma_device *dev) | |||
153 | #endif | 153 | #endif |
154 | } | 154 | } |
155 | 155 | ||
156 | #if defined(CONFIG_INTEL_IOATDMA) || defined(CONFIG_INTEL_IOATDMA_MODULE) | ||
157 | struct ioatdma_device *ioat_dma_probe(struct pci_dev *pdev, | 156 | struct ioatdma_device *ioat_dma_probe(struct pci_dev *pdev, |
158 | void __iomem *iobase); | 157 | void __iomem *iobase); |
159 | void ioat_dma_remove(struct ioatdma_device *device); | 158 | void ioat_dma_remove(struct ioatdma_device *device); |
160 | struct dca_provider *ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase); | 159 | struct dca_provider *ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase); |
161 | struct dca_provider *ioat2_dca_init(struct pci_dev *pdev, void __iomem *iobase); | 160 | struct dca_provider *ioat2_dca_init(struct pci_dev *pdev, void __iomem *iobase); |
162 | struct dca_provider *ioat3_dca_init(struct pci_dev *pdev, void __iomem *iobase); | 161 | struct dca_provider *ioat3_dca_init(struct pci_dev *pdev, void __iomem *iobase); |
163 | #else | ||
164 | #define ioat_dma_probe(pdev, iobase) NULL | ||
165 | #define ioat_dma_remove(device) do { } while (0) | ||
166 | #define ioat_dca_init(pdev, iobase) NULL | ||
167 | #define ioat2_dca_init(pdev, iobase) NULL | ||
168 | #define ioat3_dca_init(pdev, iobase) NULL | ||
169 | #endif | ||
170 | |||
171 | #endif /* IOATDMA_H */ | 162 | #endif /* IOATDMA_H */ |