Re: sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type 'struct gpio_chip'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Naresh,

On Thu, Mar 9, 2023 at 12:50 PM Naresh Kamboju
<naresh.kamboju@xxxxxxxxxx> 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@xxxxxxxxxx>
>
> 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@xxxxxxxxx

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux