Skip to contentSkip to conversation

linux-next: build failure after merge of the pinctrl tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 21, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the pinctrl tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

drivers/pinctrl/pinctrl-st.c: In function 'st_pctl_dt_parse_groups':
drivers/pinctrl/pinctrl-st.c:1212:15: error: implicit declaration of function 'of_get_named_gpio'; did you mean 'of_get_address'? [-Werror=implicit-function-declaration]

   conf->pin = of_get_named_gpio(pins, pp->name, 0);
               ^~~~~~~~~~~~~~~~~
               of_get_address

Probably caused by commit

712dfdaf62b6 ("pinctrl: st: Include the right header")

I have used the pinctrl tree from next-20190820 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

After merging the pinctrl tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

drivers/pinctrl/pinctrl-st.c: In function 'st_pctl_dt_parse_groups':
drivers/pinctrl/pinctrl-st.c:1212:15: error: implicit declaration of function 'of_get_named_gpio'; did you mean 'of_get_address'? [-Werror=implicit-function-declaration]

Quoted 7 lines
   conf->pin = of_get_named_gpio(pins, pp->name, 0);
               ^~~~~~~~~~~~~~~~~
               of_get_address

Probably caused by commit

712dfdaf62b6 ("pinctrl: st: Include the right header")

Yeah my mistake :(

I made a v2 patch fixing the error and took this out.

Thanks,
Linus Walleij