summaryrefslogtreecommitdiff
path: root/include/reset-uclass.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-08 04:25:30 (GMT)
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-10 01:03:23 (GMT)
commitd9f5d99245a32d95ae6aeb89a4ed258f7d1cea97 (patch)
treed3a80ed48c93000df21abb2453cdcfdcad33e87e /include/reset-uclass.h
parent66e3efebbcfe2627154d81d6a3c172b337396daf (diff)
downloadu-boot-d9f5d99245a32d95ae6aeb89a4ed258f7d1cea97.tar.xz
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/reset-uclass.h')
-rw-r--r--include/reset-uclass.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/reset-uclass.h b/include/reset-uclass.h
index 50adeca..38c716ff 100644
--- a/include/reset-uclass.h
+++ b/include/reset-uclass.h
@@ -11,6 +11,7 @@
#include <reset.h>
+struct fdtdec_phandle_args;
struct udevice;
/**