Messages in this thread Patch in this message | | | From | Yinghai Lu <> | Subject | [PATCH 5/6] pci/dmar: Fix link warning | Date | Thu, 8 Apr 2010 11:58:26 -0700 |
| |
could make it to be __init to remove the linking section mismatch warning.
Signed-off-by: Yinghai Lu <yinghai@kernel.org> --- drivers/pci/dmar.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index 550f0a9..a9310ed 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c @@ -1467,7 +1467,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; -- 1.6.4.2
| |