summaryrefslogtreecommitdiff
path: root/source/compiler/dtsubtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/dtsubtable.c')
-rw-r--r--source/compiler/dtsubtable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/compiler/dtsubtable.c b/source/compiler/dtsubtable.c
index 44e36492ffac..c7b85e908505 100644
--- a/source/compiler/dtsubtable.c
+++ b/source/compiler/dtsubtable.c
@@ -150,7 +150,6 @@
*****************************************************************************/
#include "aslcompiler.h"
-#include "dtcompiler.h"
#define _COMPONENT DT_COMPILER
ACPI_MODULE_NAME ("dtsubtable")
@@ -186,7 +185,7 @@ DtCreateSubtable (
/* Create a new buffer for the subtable data */
- String = UtStringCacheCalloc (Length);
+ String = UtLocalCacheCalloc (Length);
Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
memcpy (Subtable->Buffer, Buffer, Length);