diff options
author | Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> | 2007-02-02 11:48:22 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:28 -0500 |
commit | ad363f80c386bc4701b1bc2cdf08ca9b96a9337b (patch) | |
tree | e325a8149cc7844a17ed74392a4a670c6da7671d /drivers | |
parent | cee324b145a1e5488b34191de670e5ed1d346ebb (diff) |
ACPICA: Remove duplicate table definitions.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/ec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 7a1f2baff646..710364e6c586 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -889,14 +889,14 @@ static int __init acpi_ec_get_real_ecdt(void) | |||
889 | if (acpi_ec_mode == EC_INTR) { | 889 | if (acpi_ec_mode == EC_INTR) { |
890 | init_waitqueue_head(&ec_ecdt->wait); | 890 | init_waitqueue_head(&ec_ecdt->wait); |
891 | } | 891 | } |
892 | ec_ecdt->command_addr = ecdt_ptr->ec_control.address; | 892 | ec_ecdt->command_addr = ecdt_ptr->control.address; |
893 | ec_ecdt->data_addr = ecdt_ptr->ec_data.address; | 893 | ec_ecdt->data_addr = ecdt_ptr->data.address; |
894 | ec_ecdt->gpe = ecdt_ptr->gpe_bit; | 894 | ec_ecdt->gpe = ecdt_ptr->gpe; |
895 | /* use the GL just to be safe */ | 895 | /* use the GL just to be safe */ |
896 | ec_ecdt->global_lock = TRUE; | 896 | ec_ecdt->global_lock = TRUE; |
897 | ec_ecdt->uid = ecdt_ptr->uid; | 897 | ec_ecdt->uid = ecdt_ptr->uid; |
898 | 898 | ||
899 | status = acpi_get_handle(NULL, ecdt_ptr->ec_id, &ec_ecdt->handle); | 899 | status = acpi_get_handle(NULL, ecdt_ptr->id, &ec_ecdt->handle); |
900 | if (ACPI_FAILURE(status)) { | 900 | if (ACPI_FAILURE(status)) { |
901 | goto error; | 901 | goto error; |
902 | } | 902 | } |