[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdY8Otp8GVXWTCh5r9gs4e7fc9UuVMvW_zxU7ADbMmSpwg@mail.gmail.com>
Date: Tue, 9 Nov 2021 12:26:21 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, Jianqun Xu <jay.xu@...k-chips.com>,
Bartosz Golaszewski <brgl@...ev.pl>, linux-gpio@...r.kernel.org
Subject: Re: [PATCH] gpio/rockchip: fix Kconfig to prevent build errors
On Thu, Nov 4, 2021 at 4:41 PM Randy Dunlap <rdunlap@...radead.org> wrote:
> GPIO_ROCKCHIP needs to enable GENERIC_IRQ_CHIP to prevent build errors.
>
> Eliminates these build errors:
> ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_irq_disable':
> gpio-rockchip.c:(.text+0x6c9): undefined reference to `irq_gc_mask_set_bit'
> ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_irq_enable':
> gpio-rockchip.c:(.text+0x709): undefined reference to `irq_gc_mask_clr_bit'
> ld: drivers/gpio/gpio-rockchip.o: in function `rockchip_gpio_probe':
> gpio-rockchip.c:(.text+0xe25): undefined reference to `irq_generic_chip_ops'
> ld: gpio-rockchip.c:(.text+0xe7e): undefined reference to `__irq_alloc_domain_generic_chips'
> ld: gpio-rockchip.c:(.text+0xeb9): undefined reference to `irq_get_domain_generic_chip'
> ld: gpio-rockchip.c:(.text+0xf04): undefined reference to `irq_gc_ack_set_bit'
> ld: gpio-rockchip.c:(.text+0xf0e): undefined reference to `irq_gc_mask_set_bit'
> ld: gpio-rockchip.c:(.text+0xf18): undefined reference to `irq_gc_mask_clr_bit'
> ld: gpio-rockchip.c:(.text+0xf36): undefined reference to `irq_gc_set_wake'
>
> Fixes: 936ee2675eee ("gpio/rockchip: add driver for rockchip gpio")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Jianqun Xu <jay.xu@...k-chips.com>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: Bartosz Golaszewski <brgl@...ev.pl>
> Cc: linux-gpio@...r.kernel.org
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists