diff options
author | Bob Moore | 2012-06-29 09:16:30 +0800 |
---|---|---|
committer | Len Brown | 2012-07-14 11:17:29 -0400 |
commit | 26181bf4b4ca6d963a369f119071a463c2107d69 (patch) | |
tree | 0ec0788d4c4376dd8407b7af68d5a869721e7867 /drivers/acpi | |
parent | 40cdb368d3698ea21f03fcde32461d98ad3a12a2 (diff) |
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 'drivers/acpi')
-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 /******************************************************************************* * |