diff mbox

pci/dmar: add __init annotation to dmar_ir_support()

Message ID 1254543340-4473-1-git-send-email-bebarino@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Stephen Boyd Oct. 3, 2009, 4:15 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 14bbaa1..fbca5e7 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -1327,7 +1327,7 @@  int dmar_reenable_qi(struct intel_iommu *iommu)
 /*
  * Check interrupt remapping support in DMAR table description.
  */
-int dmar_ir_support(void)
+int __init dmar_ir_support(void)
 {
 	struct acpi_table_dmar *dmar;
 	dmar = (struct acpi_table_dmar *)dmar_tbl;