[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1647534311-2349-2-git-send-email-mikelley@microsoft.com>
Date: Thu, 17 Mar 2022 09:25:08 -0700
From: Michael Kelley <mikelley@...rosoft.com>
To: sthemmin@...rosoft.com, kys@...rosoft.com, haiyangz@...rosoft.com,
wei.liu@...nel.org, decui@...rosoft.com, rafael@...nel.org,
lenb@...nel.org, lorenzo.pieralisi@....com, robh@...nel.org,
kw@...ux.com, bhelgaas@...gle.com, hch@....de,
m.szyprowski@...sung.com, robin.murphy@....com,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hyperv@...r.kernel.org, linux-pci@...r.kernel.org,
iommu@...ts.linux-foundation.org
Cc: mikelley@...rosoft.com
Subject: [PATCH 1/4 RESEND] ACPI: scan: Export acpi_get_dma_attr()
Export acpi_get_dma_attr() so that it can be used by the Hyper-V
VMbus driver, which may be built as a module. The related function
acpi_dma_configure_id() is already exported.
Signed-off-by: Michael Kelley <mikelley@...rosoft.com>
---
drivers/acpi/scan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 1331756..9f3c88f 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1489,6 +1489,7 @@ enum dev_dma_attr acpi_get_dma_attr(struct acpi_device *adev)
else
return DEV_DMA_NON_COHERENT;
}
+EXPORT_SYMBOL_GPL(acpi_get_dma_attr);
/**
* acpi_dma_get_range() - Get device DMA parameters.
--
1.8.3.1
Powered by blists - more mailing lists