[RFC 1/2] ACPI: activate&export acpi_os_get_physical_address

From: Kast Bernd
Date: Wed Apr 22 2015 - 10:12:43 EST


acpi_os_get_physical_address will be needed by an acpi driver (asus-wmi.c).
Additionally it could be used by dell-laptop.c instead of directly calling virt_to_phys.

acpi_os_get_physical_address gets exported and ACPI_FUTURE_USAGE is removed

Signed-off-by: Kast Bernd <kastbernd@xxxxxx>
---
drivers/acpi/osl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index f9eeae8..566e6ad 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -524,7 +524,6 @@ void acpi_os_unmap_generic_address(struct acpi_generic_address *gas)
}
EXPORT_SYMBOL(acpi_os_unmap_generic_address);

-#ifdef ACPI_FUTURE_USAGE
acpi_status
acpi_os_get_physical_address(void *virt, acpi_physical_address * phys)
{
@@ -535,7 +534,7 @@ acpi_os_get_physical_address(void *virt, acpi_physical_address * phys)

return AE_OK;
}
-#endif
+EXPORT_SYMBOL(acpi_os_get_physical_address);

#define ACPI_MAX_OVERRIDE_LEN 100

--
2.3.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/