diff options
Diffstat (limited to 'drivers/acpi/acpica/nsaccess.c')
-rw-r--r-- | drivers/acpi/acpica/nsaccess.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/nsaccess.c b/drivers/acpi/acpica/nsaccess.c index 426a6307eafa..73f98d3fed25 100644 --- a/drivers/acpi/acpica/nsaccess.c +++ b/drivers/acpi/acpica/nsaccess.c | |||
@@ -108,9 +108,9 @@ acpi_status acpi_ns_root_initialize(void) | |||
108 | } | 108 | } |
109 | 109 | ||
110 | status = | 110 | status = |
111 | acpi_ns_lookup(NULL, (char *)init_val->name, init_val->type, | 111 | acpi_ns_lookup(NULL, ACPI_CAST_PTR(char, init_val->name), |
112 | ACPI_IMODE_LOAD_PASS2, ACPI_NS_NO_UPSEARCH, | 112 | init_val->type, ACPI_IMODE_LOAD_PASS2, |
113 | NULL, &new_node); | 113 | ACPI_NS_NO_UPSEARCH, NULL, &new_node); |
114 | if (ACPI_FAILURE(status)) { | 114 | if (ACPI_FAILURE(status)) { |
115 | ACPI_EXCEPTION((AE_INFO, status, | 115 | ACPI_EXCEPTION((AE_INFO, status, |
116 | "Could not create predefined name %s", | 116 | "Could not create predefined name %s", |