Re: [PATCH] i2c: ocores: convert to ioport_map() for IORESOURCE_IO

From: Arnd Bergmann
Date: Thu Apr 11 2024 - 04:08:13 EST


On Wed, Apr 10, 2024, at 15:31, Andi Shyti wrote:
> Hi Arnd,
>
> On Mon, Apr 08, 2024 at 11:28:36AM +0200, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@xxxxxxxx>
>>
>> There is at least one machine that uses this driver but does not
>> have support for inb()/outb() instructions.
>>
>> Convert this to using ioport_map() so it can build on architectures
>> that don't provide these but work correctly on machines that require
>> using port I/O.
>>
>> Fixes: 53f44c1005ba ("i2c: add HAS_IOPORT dependencies")
>
> I had to update this Fixes tag as I have done a rebase.
>

Ok, thanks for merging.

In case you do another rebase, you could also move this patch
ahead of the other one to avoid adding and then removing the
dependency again.

Arnd