diff options
Diffstat (limited to 'drivers/acpi/acpica/nsxfname.c')
-rw-r--r-- | drivers/acpi/acpica/nsxfname.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c index 83c164434580..3a4bd3ff49a3 100644 --- a/drivers/acpi/acpica/nsxfname.c +++ b/drivers/acpi/acpica/nsxfname.c | |||
@@ -42,7 +42,8 @@ | |||
42 | * POSSIBILITY OF SUCH DAMAGES. | 42 | * POSSIBILITY OF SUCH DAMAGES. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include <linux/export.h> | 45 | #define EXPORT_ACPI_INTERFACES |
46 | |||
46 | #include <acpi/acpi.h> | 47 | #include <acpi/acpi.h> |
47 | #include "accommon.h" | 48 | #include "accommon.h" |
48 | #include "acnamesp.h" | 49 | #include "acnamesp.h" |
@@ -208,7 +209,7 @@ acpi_get_name(acpi_handle handle, u32 name_type, struct acpi_buffer * buffer) | |||
208 | ((char *)buffer->pointer)[ACPI_NAME_SIZE] = 0; | 209 | ((char *)buffer->pointer)[ACPI_NAME_SIZE] = 0; |
209 | status = AE_OK; | 210 | status = AE_OK; |
210 | 211 | ||
211 | unlock_and_exit: | 212 | unlock_and_exit: |
212 | 213 | ||
213 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 214 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
214 | return (status); | 215 | return (status); |
@@ -496,7 +497,7 @@ acpi_get_object_info(acpi_handle handle, | |||
496 | *return_buffer = info; | 497 | *return_buffer = info; |
497 | status = AE_OK; | 498 | status = AE_OK; |
498 | 499 | ||
499 | cleanup: | 500 | cleanup: |
500 | if (hid) { | 501 | if (hid) { |
501 | ACPI_FREE(hid); | 502 | ACPI_FREE(hid); |
502 | } | 503 | } |