aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/test_dtoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dtoc/test_dtoc.py')
-rwxr-xr-xtools/dtoc/test_dtoc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dtoc/test_dtoc.py b/tools/dtoc/test_dtoc.py
index c4a0889..597c93e 100755
--- a/tools/dtoc/test_dtoc.py
+++ b/tools/dtoc/test_dtoc.py
@@ -63,6 +63,7 @@ C_HEADER = C_HEADER_PRE + '''
/* Allow use of U_BOOT_DRVINFO() in this file */
#define DT_PLAT_C
+#include <common.h>
#include <dm.h>
#include <dt-structs.h>
'''
@@ -416,6 +417,7 @@ U_BOOT_DRVINFO(spl_test3) = {
'''
uclass_text_inst = '''
+#include <common.h>
#include <dm.h>
#include <dt-structs.h>
@@ -519,6 +521,7 @@ DM_UCLASS_INST(testfdt) = {
* This was generated by dtoc from a .dtb (device tree binary) file.
*/
+#include <common.h>
#include <dm.h>
#include <dt-structs.h>