ACPICA: FADT: Fix extraneous length mismatch warning
authorBob Moore <robert.moore@intel.com>
Fri, 6 Mar 2009 02:09:00 +0000 (10:09 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 27 Mar 2009 16:11:02 +0000 (12:11 -0400)
commitaab61b676a024d3527f6201e2b31285a96f7a1d2
tree23ba90204aa52872d4b96d67d2ba79131668d680
parentd4913dc6d0c680aa106d1d80b5ad2a9325367afd
ACPICA: FADT: Fix extraneous length mismatch warning

Incorrect register length mismatch between the 32 and 64 bit
registers in some cases. Code was was checking the wrong pointer
for non-zero, should be looking at the address within the GAS
structure.

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>
drivers/acpi/acpica/tbfadt.c