projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx
[platform/kernel/u-boot.git]
/
include
/
dt-structs.h
diff --git
a/include/dt-structs.h
b/include/dt-structs.h
index
2ed9971
..
924d51f
100644
(file)
--- a/
include/dt-structs.h
+++ b/
include/dt-structs.h
@@
-1,7
+1,6
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2016 Google, Inc
/*
* Copyright (c) 2016 Google, Inc
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __DT_STRUCTS
*/
#ifndef __DT_STRUCTS
@@
-11,14
+10,19
@@
#if CONFIG_IS_ENABLED(OF_PLATDATA)
struct phandle_0_arg {
const void *node;
#if CONFIG_IS_ENABLED(OF_PLATDATA)
struct phandle_0_arg {
const void *node;
- int
id
[0];
+ int
arg
[0];
};
struct phandle_1_arg {
const void *node;
};
struct phandle_1_arg {
const void *node;
- int
id
;
+ int
arg[1]
;
};
};
-#include <generated/dt-structs.h>
+
+struct phandle_2_arg {
+ const void *node;
+ int arg[2];
+};
+#include <generated/dt-structs-gen.h>
#endif
#endif
#endif
#endif