diff options
Diffstat (limited to 'drivers/acpi/parser/psxface.c')
-rw-r--r-- | drivers/acpi/parser/psxface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/parser/psxface.c b/drivers/acpi/parser/psxface.c index 4c426f4c6af6..14d544d60867 100644 --- a/drivers/acpi/parser/psxface.c +++ b/drivers/acpi/parser/psxface.c | |||
@@ -87,7 +87,7 @@ acpi_debug_trace(char *name, u32 debug_level, u32 debug_layer, u32 flags) | |||
87 | 87 | ||
88 | /* TBDs: Validate name, allow full path or just nameseg */ | 88 | /* TBDs: Validate name, allow full path or just nameseg */ |
89 | 89 | ||
90 | acpi_gbl_trace_method_name = *(u32 *) name; | 90 | acpi_gbl_trace_method_name = *ACPI_CAST_PTR(u32, name); |
91 | acpi_gbl_trace_flags = flags; | 91 | acpi_gbl_trace_flags = flags; |
92 | 92 | ||
93 | if (debug_level) { | 93 | if (debug_level) { |