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:
Masahiro Yamada 2016-10-08 13:25:30 +09:00
parent 66e3efebbc
commit d9f5d99245

View file

@ -11,6 +11,7 @@
#include <reset.h>
struct fdtdec_phandle_args;
struct udevice;
/**