]> err.no Git - linux-2.6/blobdiff - include/acpi/platform/acgcc.h
[ACPI] handle const char * __FUNCTION__ in debug code
[linux-2.6] / include / acpi / platform / acgcc.h
index 39264127574ccdb403c5122090f6fecaa6543d26..e410e3b61415eab3509f3d3320440e5a2e73fba1 100644 (file)
@@ -46,7 +46,7 @@
 
 /* Function name is used for debug output. Non-ANSI, compiler-dependent */
 
-#define ACPI_GET_FUNCTION_NAME          __FUNCTION__
+#define ACPI_GET_FUNCTION_NAME          (char *) __FUNCTION__
 
 /* This macro is used to tag functions as "printf-like" because
  * some compilers (like GCC) can catch printf format string problems.