summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/tbfind.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2010-04-27 05:16:14 +0200
committerLen Brown <len.brown@intel.com>2010-05-06 09:05:54 +0200
commitb9ee2043096b02e5da8c62f9a8a8f2e172b3606b (patch)
treeaa0ad908c72d46f2eae8252aed80f0ed84cbf6ec /drivers/acpi/acpica/tbfind.c
parentACPICA: Update version to 20100331. (diff)
downloadlinux-b9ee2043096b02e5da8c62f9a8a8f2e172b3606b.tar.xz
linux-b9ee2043096b02e5da8c62f9a8a8f2e172b3606b.zip
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 e252180ce61c..989d5c867864 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)) {