On Mon, 17 Feb 2020 at 06:14, Sébastien Szymanski <sebastien.szyman...@armadeus.com> wrote: > > Otherwise the compilation fails with PINCTRL_GENERIC=n : > > In file included from drivers/pinctrl/nxp/pinctrl-imx8m.c:7:0: > include/dm/pinctrl.h: In function ‘pinctrl_generic_set_state’: > include/dm/pinctrl.h:319:10: error: ‘EINVAL’ undeclared (first use in this > function) > return -EINVAL; > ^~~~~~ > include/dm/pinctrl.h:319:10: note: each undeclared identifier is reported > only once for each function it appears in > > Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> > --- > include/dm/pinctrl.h | 2 ++ > 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>