diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-08 17:37:31 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-24 13:58:41 -0500 |
commit | 073b4964b3b75fd9e19bf3933b26d9c23591c9db (patch) | |
tree | 15b2cf06533aba12e20cb8cfe7fa8267b9d1e842 /drivers/acpi/osl.c | |
parent | 2aa15890f3c191326678f1bd68af61ec6b8753ec (diff) |
ACPI: Do not export functions that are only used in osl.c
The functions acpi_os_map_generic_address() and
acpi_os_unmap_generic_address() are only used in drivers/acpi/osl.c,
so make them static and remove the extern definitions of them from
include/linux/acpi_io.h.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index c90c76aa7f8b..ff2189d3fa06 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -397,7 +397,7 @@ void __init early_acpi_os_unmap_memory(void __iomem *virt, acpi_size size) | |||
397 | __acpi_unmap_table(virt, size); | 397 | __acpi_unmap_table(virt, size); |
398 | } | 398 | } |
399 | 399 | ||
400 | int acpi_os_map_generic_address(struct acpi_generic_address *addr) | 400 | static int acpi_os_map_generic_address(struct acpi_generic_address *addr) |
401 | { | 401 | { |
402 | void __iomem *virt; | 402 | void __iomem *virt; |
403 | 403 | ||
@@ -413,9 +413,8 @@ int acpi_os_map_generic_address(struct acpi_generic_address *addr) | |||
413 | 413 | ||
414 | return 0; | 414 | return 0; |
415 | } | 415 | } |
416 | EXPORT_SYMBOL_GPL(acpi_os_map_generic_address); | ||
417 | 416 | ||
418 | void acpi_os_unmap_generic_address(struct acpi_generic_address *addr) | 417 | static void acpi_os_unmap_generic_address(struct acpi_generic_address *addr) |
419 | { | 418 | { |
420 | void __iomem *virt; | 419 | void __iomem *virt; |
421 | unsigned long flags; | 420 | unsigned long flags; |
@@ -433,7 +432,6 @@ void acpi_os_unmap_generic_address(struct acpi_generic_address *addr) | |||
433 | 432 | ||
434 | acpi_os_unmap_memory(virt, size); | 433 | acpi_os_unmap_memory(virt, size); |
435 | } | 434 | } |
436 | EXPORT_SYMBOL_GPL(acpi_os_unmap_generic_address); | ||
437 | 435 | ||
438 | #ifdef ACPI_FUTURE_USAGE | 436 | #ifdef ACPI_FUTURE_USAGE |
439 | acpi_status | 437 | acpi_status |