Re: [PATCH 0/2 v8] gpiolib: finish the legacy cleanup

From: Arnd Bergmann

Date: Tue Nov 24 2026 - 08:49:50 EST


On Mon, Nov 23, 2026, at 16:41, Bartosz Golaszewski wrote:
> On Mon, Nov 23, 2026 at 04:24:49PM +0100, Arnd Bergmann wrote:
>> 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.
>
> Can I apply v7 and provide it to the SH maintainers on an immutable
> branch?

I think that would add even more complication. I'd suggest you take
just the first patch now to get that out of the way, and I'll once
more split up the remaining patch 2 in the hope of shrinking it
to the point of losing the dependencies for 7.6.

Arnd