summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/tbfind.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2010-04-27 11:16:14 +0800
committerLen Brown <len.brown@intel.com>2010-05-06 03:05:54 -0400
commitb9ee2043096b02e5da8c62f9a8a8f2e172b3606b (patch)
treeaa0ad908c72d46f2eae8252aed80f0ed84cbf6ec /drivers/acpi/acpica/tbfind.c
parente4eb0450c5d61dd0064ef0904d74088d35284ae2 (diff)
ACPICA: Clarify/rename some root table descriptor fields
Original fields were not very descriptive and led to maintenance problems. New fields should help to understand the existing code. 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/tbfind.c')
-rw-r--r--drivers/acpi/acpica/tbfind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/tbfind.c b/drivers/acpi/acpica/tbfind.c
index e252180ce61..989d5c86786 100644
--- a/drivers/acpi/acpica/tbfind.c
+++ b/drivers/acpi/acpica/tbfind.c
@@ -83,7 +83,7 @@ acpi_tb_find_table(char *signature,
/* Search for the table */
- for (i = 0; i < acpi_gbl_root_table_list.count; ++i) {
+ for (i = 0; i < acpi_gbl_root_table_list.current_table_count; ++i) {
if (ACPI_MEMCMP(&(acpi_gbl_root_table_list.tables[i].signature),
header.signature, ACPI_NAME_SIZE)) {