summaryrefslogtreecommitdiff
path: root/include/acpi/acpi_io.h
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-12-14 10:04:46 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-12-21 04:36:38 +0300
commit8d3523fb3b727478ac528b307cb84460faa1c39e (patch)
tree7d86f7484dc10ecc9f2d57aa0f8e86796379e162 /include/acpi/acpi_io.h
parent6b11d1d677132816252004426ef220ccd3c92d2f (diff)
downloadlinux-8d3523fb3b727478ac528b307cb84460faa1c39e.tar.xz
ACPI / osl: Remove deprecated acpi_get_table_with_size()/early_acpi_os_unmap_memory()
Since all users are cleaned up, remove the 2 deprecated APIs due to no users. As a Linux variable rather than an ACPICA variable, acpi_gbl_permanent_mmap is renamed to acpi_permanent_mmap to have a consistent coding style across entire Linux ACPI subsystem. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpi_io.h')
-rw-r--r--include/acpi/acpi_io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/acpi_io.h b/include/acpi/acpi_io.h
index d7d0f495a34e..303315b9693f 100644
--- a/include/acpi/acpi_io.h
+++ b/include/acpi/acpi_io.h
@@ -13,6 +13,8 @@ static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
}
#endif
+extern bool acpi_permanent_mmap;
+
void __iomem *__ref
acpi_os_map_iomem(acpi_physical_address phys, acpi_size size);
void __ref acpi_os_unmap_iomem(void __iomem *virt, acpi_size size);