Re: [GIT PULL 3/5] ARM: SoC changes for v5.9

From: Joel Stanley
Date: Tue Aug 04 2020 - 03:02:50 EST


On Mon, 3 Aug 2020 at 21:49, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> ARM: SoC changes for v5.9

> Andy Shevchenko (1):
> ARM: orion/gpio: Make use of for_each_requested_gpio()

This change broke the arm build (I noticed it when building multi_v5_defconfig):

../arch/arm/plat-orion/gpio.c:457:2: error: implicit declaration of
function ‘for_each_requested_gpio’
[-Werror=implicit-function-declaration]
457 | for_each_requested_gpio(chip, i, label) {
| ^~~~~~~~~~~~~~~~~~~~~~~

for_each_requested_gpio isn't in Linus (Torvalds) tree yet. It will be
fixed when he pulls Linus Walleij's GPIO tree which has the commit:

b3337eb24831 gpiolib: Introduce for_each_requested_gpio_in_range() macro

Cheers,

Joel