Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Thu, 9 Mar 2023 14:54:08 +0100 | Subject | Re: sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type 'struct gpio_chip' |
| |
Hi Naresh,
On Thu, Mar 9, 2023 at 12:50 PM Naresh Kamboju <naresh.kamboju@linaro.org> wrote: > Following build error reported on sh shx3_defconfig on Linux next-20230309 > and started from next-20230307. > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> > > Build log: > -------- > arch/sh/boards/mach-x3proto/setup.c: In function 'x3proto_devices_setup': > arch/sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of > undefined type 'struct gpio_chip' > 246 | baseboard_buttons[i].gpio = x3proto_gpio_chip.base + i; > | ^ > make[3]: *** [scripts/Makefile.build:252: > arch/sh/boards/mach-x3proto/setup.o] Error 1 > make[3]: Target 'arch/sh/boards/mach-x3proto/' not remade because of errors. > make[2]: *** [scripts/Makefile.build:494: arch/sh/boards/mach-x3proto] Error 2
Thanks, I've bisected, and sent a fix https://lore.kernel.org/r/20230309135255.3861308-1-geert+renesas@glider.be
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |