Prefer predefined DSDT signature from header file.

This commit is contained in:
Jung-uk Kim 2009-06-04 21:01:04 +00:00
parent 451d1f8de6
commit 2e66846568
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/acpica_20090521/; revision=193455

View File

@ -78,7 +78,7 @@ AcpiOsTableOverride(ACPI_TABLE_HEADER *ExistingTable,
modname[i + 5] = tolower(ExistingTable->Signature[i]);
#else
/* If we're not overriding the DSDT, just return. */
if (strncmp(ExistingTable->Signature, "DSDT", ACPI_NAME_SIZE) != 0) {
if (strncmp(ExistingTable->Signature, ACPI_SIG_DSDT, ACPI_NAME_SIZE) != 0) {
*NewTable = NULL;
return (AE_OK);
}