X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fdt-structs.h;h=924d51fc522c6a416010b6873a9842da028c1ae3;hb=b4ee6daad7a2604ca9466b2ba48de86cc27d381f;hp=2ed997115aee5e6e56a9fb4fbc0f0740bd27b5ca;hpb=0d15463c0537806f70ea2359e32e4deb8c4766c2;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/dt-structs.h b/include/dt-structs.h index 2ed9971..924d51f 100644 --- 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 - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DT_STRUCTS @@ -11,14 +10,19 @@ #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; - int id; + int arg[1]; }; -#include + +struct phandle_2_arg { + const void *node; + int arg[2]; +}; +#include #endif #endif