summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exdump.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-06-02 13:20:00 +0800
committerLen Brown <len.brown@intel.com>2009-08-27 10:17:13 -0400
commit5853a9f6dda244b4163b9daad663bdc41a74f596 (patch)
tree9411559839bc72696199c08a04de07dc4f79ce9c /drivers/acpi/acpica/exdump.c
parent422bef879e84104fee6dc68ded0e371dbeb5f88e (diff)
downloadlinux-5853a9f6dda244b4163b9daad663bdc41a74f596.tar.bz2
ACPICA: Fix several pointer casts to avoid possible compile warnings
Fixes warnings with gcc -Wcast-qual flag. 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/acpica/exdump.c')
-rw-r--r--drivers/acpi/acpica/exdump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/exdump.c b/drivers/acpi/acpica/exdump.c
index ec524614e708..de3446372ddc 100644
--- a/drivers/acpi/acpica/exdump.c
+++ b/drivers/acpi/acpica/exdump.c
@@ -418,9 +418,9 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
case ACPI_EXD_REFERENCE:
acpi_ex_out_string("Class Name",
- (char *)
- acpi_ut_get_reference_name
- (obj_desc));
+ ACPI_CAST_PTR(char,
+ acpi_ut_get_reference_name
+ (obj_desc)));
acpi_ex_dump_reference_obj(obj_desc);
break;