summaryrefslogtreecommitdiff
path: root/drivers/pci/intel-iommu.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-11-20 17:21:13 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2009-01-03 13:57:34 +0300
commit519a05491586dad04e687660e54c57882315b22b (patch)
tree3dd5716f34e028d649b48dfd3fdd4fd9663f6d0f /drivers/pci/intel-iommu.c
parent015ab17dc2e9de805c26e74f498b12ee5e8de07e (diff)
downloadlinux-519a05491586dad04e687660e54c57882315b22b.tar.xz
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>
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-rw-r--r--drivers/pci/intel-iommu.c2
1 files changed, 1 insertions, 1 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)
}
#endif /* !CONFIG_DMAR_FLPY_WA */
-int __init init_dmars(void)
+static int __init init_dmars(void)
{
struct dmar_drhd_unit *drhd;
struct dmar_rmrr_unit *rmrr;