summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/utascii.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/utascii.c')
-rw-r--r--drivers/acpi/acpica/utascii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/utascii.c b/drivers/acpi/acpica/utascii.c
index 79d7426fd7bf..f6cd7d4f698b 100644
--- a/drivers/acpi/acpica/utascii.c
+++ b/drivers/acpi/acpica/utascii.c
@@ -30,7 +30,7 @@ u8 acpi_ut_valid_nameseg(char *name)
/* Validate each character in the signature */
- for (i = 0; i < ACPI_NAME_SIZE; i++) {
+ for (i = 0; i < ACPI_NAMESEG_SIZE; i++) {
if (!acpi_ut_valid_name_char(name[i], i)) {
return (FALSE);
}