common: align declarations of dev_add_param_*() functions with barebox
The only remaining difference is the argument "value" in dev_add_param_enum()
which is of type int* in barebox and got type uint32_t* here to not let the
compiler warn about assignment of pointers of different signedness.

There is no such warning when compiling barebox as it's applying the compiler
option "-Wno-pointer-sign" in its main makefile.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
1 parent a927ee5 commit 6ae166207bc8a31d0b75ca23bcca848751e3df78
@Ulrich Ölmann Ulrich Ölmann authored on 3 Feb 2019
Roland Hieber committed on 7 Feb 2019
Showing 1 changed file
View
src/dt/common.h