Re: [PATCH 0/2 v8] gpiolib: finish the legacy cleanup
From: Arnd Bergmann
Date: Mon Nov 23 2026 - 10:25:49 EST
On Mon, Nov 23, 2026, at 16:08, Bartosz Golaszewski wrote:
> On Mon, Nov 23, 2026 at 03:59:24PM +0100, Bartosz Golaszewski wrote:
>> On Mon, Nov 23, 2026 at 09:57:21AM +0100, Arnd Bergmann wrote:
>> >
>> > This was planned for 7.3 originally[1], but kept conflicting with
>> > ongoing cleanups for the broken rsk7203 board. I've skipped the
>> > oneline rsk change now, which will be fixed properly by Dmitry's
>> > patch [2].
>>
> Sashiko is right:
>
> CC arch/sh/boards/mach-rsk/devices-rsk7203.o
> arch/sh/boards/mach-rsk/devices-rsk7203.c: In function
> ‘rsk7203_devices_setup’:
> arch/sh/boards/mach-rsk/devices-rsk7203.c:127:9: error: implicit
> declaration of function ‘gpio_request’; did you mean ‘symbol_request’?
> [-Wimplicit-function-declaration]
> 127 | gpio_request(GPIO_FN_TXD0, NULL);
> | ^~~~~~~~~~~~
> | symbol_request
Yes, this just seemed the easiest way out to avoid clashing with Dmitry's
patches again. If you want the version that doesn't break the build,
you can still apply v7 [1], but that likely means his series has go
through another revision to undo my change and remove the linux/gpio/legacy.h
inclusion.
Arnd
[1] https://lore.kernel.org/all/20260907090956.2825703-1-arnd@xxxxxxxxxx/