]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ACPICA: Utilities: conditionally compile backslash removal function
authorBob Moore <robert.moore@intel.com>
Fri, 29 Jun 2012 01:16:30 +0000 (09:16 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 14 Jul 2012 15:17:29 +0000 (11:17 -0400)
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>
drivers/acpi/acpica/utmisc.c

index e86f897767e8838cb9f10cfc060f218ce6786217..577a44e569092e2e108699133bfc8017dc814c48 100644 (file)
@@ -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
 
 /*******************************************************************************
  *