mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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:
@ -11,6 +11,7 @@
|
||||
|
||||
#include <reset.h>
|
||||
|
||||
struct fdtdec_phandle_args;
|
||||
struct udevice;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user