[ACPI] ACPICA 20050729 from Bob Moore
[deliverable/linux.git] / include / acpi / acmacros.h
index 5b100cef8dfcf2ea5c8d5599df85640eab6f4657..fcdef0a4b01b835a54a359581aa6fb44b38108fe 100644 (file)
  * The Name parameter should be the procedure name as a quoted string.
  * This is declared as a local string ("my_function_name") so that it can
  * be also used by the function exit macros below.
+ * Note: (const char) is used to be compatible with the debug interfaces
+ * and macros such as __FUNCTION__.
  */
-#define ACPI_FUNCTION_NAME(name)        char *_acpi_function_name = name;
+#define ACPI_FUNCTION_NAME(name)        const char *_acpi_function_name = name;
 
 #else
 /* Compiler supports __FUNCTION__ (or equivalent) -- Ignore this macro */
This page took 0.023441 seconds and 5 git commands to generate.