diff options
author | Bob Moore <robert.moore@intel.com> | 2009-06-02 07:20:00 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-27 16:17:13 +0200 |
commit | 5853a9f6dda244b4163b9daad663bdc41a74f596 (patch) | |
tree | 9411559839bc72696199c08a04de07dc4f79ce9c /drivers/acpi/acpica/exdump.c | |
parent | Linux 2.6.31-rc7 (diff) | |
download | linux-5853a9f6dda244b4163b9daad663bdc41a74f596.tar.xz linux-5853a9f6dda244b4163b9daad663bdc41a74f596.zip |
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.c | 6 |
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; |