summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>2022-08-17 16:34:57 +0000
committerKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>2022-08-17 16:36:55 +0000
commitc717cfd3b368f5068c228a0389df5ec822586fff (patch)
treec9edaf5fabed5075d1f25c3b96b6d17a02a2f6f4
parente07d0dc97ebee68bc830bb03a56d90c715075e15 (diff)
downloadacpica-c717cfd3b368f5068c228a0389df5ec822586fff.tar.gz
iASL: Fix iASL compile error due to ACPI_TDEL_OFFSET
Commit # 10e4763f155e ("iASL: Add CCEL table to both compiler/ disassembler") introduced the iASL build issue. The issue is due to using ACPI_TDEL_OFFSET for CCEL table member reference. To fix it, change ACPI_TDEL_OFFSET with ACPI_CCEL_OFFSET. Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
-rw-r--r--source/common/dmtbinfo3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/common/dmtbinfo3.c b/source/common/dmtbinfo3.c
index a944ce331..b8ddb7aad 100644
--- a/source/common/dmtbinfo3.c
+++ b/source/common/dmtbinfo3.c
@@ -198,11 +198,11 @@
ACPI_DMTABLE_INFO AcpiDmTableInfoCcel[] =
{
- {ACPI_DMT_UINT8, ACPI_TDEL_OFFSET (CCType), "CC Type", 0},
- {ACPI_DMT_UINT8, ACPI_TDEL_OFFSET (CCSubType), "CC Sub Type", 0},
- {ACPI_DMT_UINT32, ACPI_TDEL_OFFSET (Reserved), "Reserved", 0},
- {ACPI_DMT_UINT64, ACPI_TDEL_OFFSET (LogAreaMinimumLength), "Log Area Minimum Length", 0},
- {ACPI_DMT_UINT64, ACPI_TDEL_OFFSET (LogAreaStartAddress), "Log Area Start Address", 0},
+ {ACPI_DMT_UINT8, ACPI_CCEL_OFFSET (CCType), "CC Type", 0},
+ {ACPI_DMT_UINT8, ACPI_CCEL_OFFSET (CCSubType), "CC Sub Type", 0},
+ {ACPI_DMT_UINT32, ACPI_CCEL_OFFSET (Reserved), "Reserved", 0},
+ {ACPI_DMT_UINT64, ACPI_CCEL_OFFSET (LogAreaMinimumLength), "Log Area Minimum Length", 0},
+ {ACPI_DMT_UINT64, ACPI_CCEL_OFFSET (LogAreaStartAddress), "Log Area Start Address", 0},
ACPI_DMT_TERMINATOR
};