[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f14ffb9df15cdf617bb4ccae575a9787866675c8.1429653764.git.kastbernd@gmx.de>
Date: Wed, 22 Apr 2015 16:12:24 +0200
From: Kast Bernd <kastbernd@....de>
To: corentin.chary@...il.com
Cc: rjw@...ysocki.net, lenb@...nel.org, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, dvhart@...radead.org,
acpi4asus-user@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org
Subject: [RFC 1/2] ACPI: activate&export acpi_os_get_physical_address
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@....de>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists