aboutsummaryrefslogtreecommitdiff
path: root/test/dm/acpi.c
diff options
context:
space:
mode:
authorSimon Glass2020-07-07 21:32:10 -0600
committerBin Meng2020-07-17 14:32:24 +0800
commit82659cc91014df7dfcc55474c1657d1c9b6fe957 (patch)
tree6f265db5df0bbbb26f89bf67f383aa95e555ae93 /test/dm/acpi.c
parentfea9651084e72fe94aefa0b828854ef5ce2835b4 (diff)
acpi: Support generation of a scope
Add a function to write a scope to the generated ACPI code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [bmeng: Fix build failures on Sandbox] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'test/dm/acpi.c')
-rw-r--r--test/dm/acpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dm/acpi.c b/test/dm/acpi.c
index 7768f9514cf..b94c4ba4d13 100644
--- a/test/dm/acpi.c
+++ b/test/dm/acpi.c
@@ -20,9 +20,8 @@
#include <dm/acpi.h>
#include <dm/test.h>
#include <test/ut.h>
+#include "acpi.h"
-#define ACPI_TEST_DEV_NAME "ABCD"
-#define ACPI_TEST_CHILD_NAME "EFGH"
#define BUF_SIZE 4096
/**