diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-11-20 09:21:13 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-01-03 05:57:34 -0500 |
commit | 519a05491586dad04e687660e54c57882315b22b (patch) | |
tree | 3dd5716f34e028d649b48dfd3fdd4fd9663f6d0f | |
parent | 015ab17dc2e9de805c26e74f498b12ee5e8de07e (diff) |
intel-iommu: make init_dmars() static
init_dmars() is not used outside of drivers/pci/intel-iommu.c
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | drivers/pci/intel-iommu.c | 2 | ||||
-rw-r--r-- | include/linux/dma_remapping.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index 8e5a445ba93a..95ae3a9aea8a 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -1589,7 +1589,7 @@ static inline void iommu_prepare_isa(void) | |||
1589 | } | 1589 | } |
1590 | #endif /* !CONFIG_DMAR_FLPY_WA */ | 1590 | #endif /* !CONFIG_DMAR_FLPY_WA */ |
1591 | 1591 | ||
1592 | int __init init_dmars(void) | 1592 | static int __init init_dmars(void) |
1593 | { | 1593 | { |
1594 | struct dmar_drhd_unit *drhd; | 1594 | struct dmar_drhd_unit *drhd; |
1595 | struct dmar_rmrr_unit *rmrr; | 1595 | struct dmar_rmrr_unit *rmrr; |
diff --git a/include/linux/dma_remapping.h b/include/linux/dma_remapping.h index 952df39c989d..cf92c4924b8c 100644 --- a/include/linux/dma_remapping.h +++ b/include/linux/dma_remapping.h | |||
@@ -141,7 +141,6 @@ struct device_domain_info { | |||
141 | struct dmar_domain *domain; /* pointer to domain */ | 141 | struct dmar_domain *domain; /* pointer to domain */ |
142 | }; | 142 | }; |
143 | 143 | ||
144 | extern int init_dmars(void); | ||
145 | extern void free_dmar_iommu(struct intel_iommu *iommu); | 144 | extern void free_dmar_iommu(struct intel_iommu *iommu); |
146 | 145 | ||
147 | extern int dmar_disabled; | 146 | extern int dmar_disabled; |