Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / device.h
blob1b3ef26e77df2b264542f23a2ac38ceb561cc39f
1 #ifndef _ASM_X86_DEVICE_H
2 #define _ASM_X86_DEVICE_H
4 struct dev_archdata {
5 #if defined(CONFIG_INTEL_IOMMU) || defined(CONFIG_AMD_IOMMU)
6 void *iommu; /* hook for IOMMU specific extension */
7 #endif
8 };
10 #if defined(CONFIG_X86_DEV_DMA_OPS) && defined(CONFIG_PCI_DOMAINS)
11 struct dma_domain {
12 struct list_head node;
13 const struct dma_map_ops *dma_ops;
14 int domain_nr;
16 void add_dma_domain(struct dma_domain *domain);
17 void del_dma_domain(struct dma_domain *domain);
18 #endif
20 struct pdev_archdata {
23 #endif /* _ASM_X86_DEVICE_H */