mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
66e3efebbc
commit
d9f5d99245
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <reset.h>
|
||||
|
||||
struct fdtdec_phandle_args;
|
||||
struct udevice;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue