summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-08 13:25:30 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-10 10:03:23 +0900
commitd9f5d99245a32d95ae6aeb89a4ed258f7d1cea97 (patch)
treed3a80ed48c93000df21abb2453cdcfdcad33e87e
parent66e3efebbcfe2627154d81d6a3c172b337396daf (diff)
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>
-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 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;
/**