summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/utuuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/utuuid.c')
-rw-r--r--drivers/acpi/acpica/utuuid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utuuid.c b/drivers/acpi/acpica/utuuid.c
index c6149a212149..e6cab669bd9c 100644
--- a/drivers/acpi/acpica/utuuid.c
+++ b/drivers/acpi/acpica/utuuid.c
@@ -47,6 +47,7 @@
#define _COMPONENT ACPI_COMPILER
ACPI_MODULE_NAME("utuuid")
+#if (defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP || defined ACPI_HELP_APP)
/*
* UUID support functions.
*
@@ -94,3 +95,4 @@ void acpi_ut_convert_string_to_uuid(char *in_string, u8 *uuid_buffer)
1]);
}
}
+#endif