Re: linux-next: build failure after merge of the input tree

From: Dmitry Torokhov
Date: Tue Oct 25 2022 - 01:02:43 EST


On Tue, Oct 25, 2022 at 10:00:48AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the input tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/input/keyboard/stmpe-keypad.c: In function 'stmpe_keypad_probe':
> drivers/input/keyboard/stmpe-keypad.c:353:9: error: implicit declaration of function 'of_property_read_u32' [-Werror=implicit-function-declaration]
> 353 | of_property_read_u32(np, "debounce-interval", &keypad->debounce_ms);
> | ^~~~~~~~~~~~~~~~~~~~
> drivers/input/keyboard/stmpe-keypad.c:355:33: error: implicit declaration of function 'of_property_read_bool' [-Werror=implicit-function-declaration]
> 355 | keypad->no_autorepeat = of_property_read_bool(np, "st,no-autorepeat");
> | ^~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> 8b96465c93a8 ("Input: matrix_keypad - replace header inclusions by forward declarations")
>
> I have used the input tree from next-20221024 for today.

Thanks, I'll fix this up.

--
Dmitry