diff options
author | Bob Moore <robert.moore@intel.com> | 2012-06-29 03:16:30 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-07-14 17:17:29 +0200 |
commit | 26181bf4b4ca6d963a369f119071a463c2107d69 (patch) | |
tree | 0ec0788d4c4376dd8407b7af68d5a869721e7867 /drivers/acpi/acpica/utmisc.c | |
parent | ACPICA: Disassembler: Emit descriptions for ACPI predefined names (diff) | |
download | linux-26181bf4b4ca6d963a369f119071a463c2107d69.tar.xz linux-26181bf4b4ca6d963a369f119071a463c2107d69.zip |
ACPICA: Utilities: conditionally compile backslash removal function
Only used for iASL and AcpiExec.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/acpi/acpica/utmisc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utmisc.c b/drivers/acpi/acpica/utmisc.c index e86f897767e8..577a44e56909 100644 --- a/drivers/acpi/acpica/utmisc.c +++ b/drivers/acpi/acpica/utmisc.c @@ -50,6 +50,7 @@ #define _COMPONENT ACPI_UTILITIES ACPI_MODULE_NAME("utmisc") +#if defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP /******************************************************************************* * * FUNCTION: ut_convert_backslashes @@ -77,6 +78,7 @@ void ut_convert_backslashes(char *pathname) pathname++; } } +#endif /******************************************************************************* * |