2013-08-22 13:21:23

by Tushar Behera

[permalink] [raw]
Subject: Build failure in drivers/pinctrl/pictrl-imx.c

Hi Linus,

With 'allyesconfig' on next-20130822, we are getting a build failure here.

I am not sure about the fix, hence only reporting the issue here.

drivers/pinctrl/pinctrl-imx.c: In function ‘imx_pinctrl_parse_groups’:
drivers/pinctrl/pinctrl-imx.c:35:5: error: incompatible types when
assigning to type ‘int’ from type ‘struct imx_pin’
j = p[i]; \
^
drivers/pinctrl/pinctrl-imx.c:504:2: note: in expansion of macro ‘IMX_PMX_DUMP’
IMX_PMX_DUMP(info, grp->pins, grp->mux_mode, grp->configs, grp->npins);
^
drivers/pinctrl/pinctrl-imx.c:504:35: error: ‘struct imx_pin_group’
has no member named ‘mux_mode’
IMX_PMX_DUMP(info, grp->pins, grp->mux_mode, grp->configs, grp->npins);
^
drivers/pinctrl/pinctrl-imx.c:38:4: note: in definition of macro ‘IMX_PMX_DUMP’
m[i], c[i]); \
^
drivers/pinctrl/pinctrl-imx.c:504:50: error: ‘struct imx_pin_group’
has no member named ‘configs’
IMX_PMX_DUMP(info, grp->pins, grp->mux_mode, grp->configs, grp->npins);
^
drivers/pinctrl/pinctrl-imx.c:38:10: note: in definition of macro ‘IMX_PMX_DUMP’
m[i], c[i]); \
^
make[2]: *** [drivers/pinctrl/pinctrl-imx.o] Error 1
make[1]: *** [drivers/pinctrl] Error 2
make: *** [drivers] Error 2


--
Tushar Behera