From: Masahiro Yamada Date: Sat, 8 Oct 2016 04:25:30 +0000 (+0900) Subject: reset: declare fdtdec_phandle_args as struct to fix warning X-Git-Tag: v2016.11-rc2~14^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9f5d99245a32d95ae6aeb89a4ed258f7d1cea97;p=u-boot 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 --- 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 +struct fdtdec_phandle_args; struct udevice; /**