aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/osl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 2e285cdbefb1..b11f2676f7c9 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -431,7 +431,7 @@ void __init early_acpi_os_unmap_memory(void __iomem *virt, acpi_size size)
431 __acpi_unmap_table(virt, size); 431 __acpi_unmap_table(virt, size);
432} 432}
433 433
434static int acpi_os_map_generic_address(struct acpi_generic_address *gas) 434int acpi_os_map_generic_address(struct acpi_generic_address *gas)
435{ 435{
436 u64 addr; 436 u64 addr;
437 void __iomem *virt; 437 void __iomem *virt;
@@ -450,8 +450,9 @@ static int acpi_os_map_generic_address(struct acpi_generic_address *gas)
450 450
451 return 0; 451 return 0;
452} 452}
453EXPORT_SYMBOL(acpi_os_map_generic_address);
453 454
454static void acpi_os_unmap_generic_address(struct acpi_generic_address *gas) 455void acpi_os_unmap_generic_address(struct acpi_generic_address *gas)
455{ 456{
456 u64 addr; 457 u64 addr;
457 struct acpi_ioremap *map; 458 struct acpi_ioremap *map;
@@ -475,6 +476,7 @@ static void acpi_os_unmap_generic_address(struct acpi_generic_address *gas)
475 476
476 acpi_os_map_cleanup(map); 477 acpi_os_map_cleanup(map);
477} 478}
479EXPORT_SYMBOL(acpi_os_unmap_generic_address);
478 480
479#ifdef ACPI_FUTURE_USAGE 481#ifdef ACPI_FUTURE_USAGE
480acpi_status 482acpi_status