reset: declare fdtdec_phandle_args as struct to fix warning
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Oct 2016 04:25:30 +0000 (13:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 10 Oct 2016 01:03:23 +0000 (10:03 +0900)
commitd9f5d99245a32d95ae6aeb89a4ed258f7d1cea97
treed3a80ed48c93000df21abb2453cdcfdcad33e87e
parent66e3efebbcfe2627154d81d6a3c172b337396daf
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>
include/reset-uclass.h