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

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);
}