diff options
Diffstat (limited to 'drivers/acpi/utilities/utglobal.c')
-rw-r--r-- | drivers/acpi/utilities/utglobal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/utilities/utglobal.c b/drivers/acpi/utilities/utglobal.c index a6e71b801d2d..248eefc369f8 100644 --- a/drivers/acpi/utilities/utglobal.c +++ b/drivers/acpi/utilities/utglobal.c | |||
@@ -677,14 +677,14 @@ u8 acpi_ut_valid_object_type(acpi_object_type type) | |||
677 | * | 677 | * |
678 | * PARAMETERS: None | 678 | * PARAMETERS: None |
679 | * | 679 | * |
680 | * RETURN: None | 680 | * RETURN: Status |
681 | * | 681 | * |
682 | * DESCRIPTION: Init library globals. All globals that require specific | 682 | * DESCRIPTION: Init library globals. All globals that require specific |
683 | * initialization should be initialized here! | 683 | * initialization should be initialized here! |
684 | * | 684 | * |
685 | ******************************************************************************/ | 685 | ******************************************************************************/ |
686 | 686 | ||
687 | void acpi_ut_init_globals(void) | 687 | acpi_status acpi_ut_init_globals(void) |
688 | { | 688 | { |
689 | acpi_status status; | 689 | acpi_status status; |
690 | u32 i; | 690 | u32 i; |
@@ -695,7 +695,7 @@ void acpi_ut_init_globals(void) | |||
695 | 695 | ||
696 | status = acpi_ut_create_caches(); | 696 | status = acpi_ut_create_caches(); |
697 | if (ACPI_FAILURE(status)) { | 697 | if (ACPI_FAILURE(status)) { |
698 | return; | 698 | return_ACPI_STATUS(status); |
699 | } | 699 | } |
700 | 700 | ||
701 | /* Mutex locked flags */ | 701 | /* Mutex locked flags */ |
@@ -772,7 +772,7 @@ void acpi_ut_init_globals(void) | |||
772 | acpi_gbl_display_final_mem_stats = FALSE; | 772 | acpi_gbl_display_final_mem_stats = FALSE; |
773 | #endif | 773 | #endif |
774 | 774 | ||
775 | return_VOID; | 775 | return_ACPI_STATUS(AE_OK); |
776 | } | 776 | } |
777 | 777 | ||
778 | ACPI_EXPORT_SYMBOL(acpi_dbg_level) | 778 | ACPI_EXPORT_SYMBOL(acpi_dbg_level) |