Skip to content
Commit d9f5d992 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 66e3efeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment