diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-10-08 13:25:30 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-10-10 10:03:23 +0900 |
commit | d9f5d99245a32d95ae6aeb89a4ed258f7d1cea97 (patch) | |
tree | d3a80ed48c93000df21abb2453cdcfdcad33e87e /include | |
parent | 66e3efebbcfe2627154d81d6a3c172b337396daf (diff) | |
download | u-boot-d9f5d99245a32d95ae6aeb89a4ed258f7d1cea97.tar.gz u-boot-d9f5d99245a32d95ae6aeb89a4ed258f7d1cea97.tar.bz2 u-boot-d9f5d99245a32d95ae6aeb89a4ed258f7d1cea97.zip |
reset: declare fdtdec_phandle_args as struct to fix warning
The of_xlate() callback needs to know fdtdec_phandle_args is struct.
Otherwise, the following warning is displayed.
include/reset-uclass.h:40:11: warning: 'struct fdtdec_phandle_args'
declared inside parameter list
struct fdtdec_phandle_args *args);
^
include/reset-uclass.h:40:11: warning: its scope is only this
definition or declaration, which is probably not what you want
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/reset-uclass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/reset-uclass.h b/include/reset-uclass.h index 50adeca757..38c716ff89 100644 --- a/include/reset-uclass.h +++ b/include/reset-uclass.h @@ -11,6 +11,7 @@ #include <reset.h> +struct fdtdec_phandle_args; struct udevice; /** |