Messages in this thread | ![/](/images/icornerl.gif) | | From | Peter Korsgaard <> | Subject | Re: [PATCH] i2c: ocores: convert to ioport_map() for IORESOURCE_IO | Date | Tue, 09 Apr 2024 12:38:11 +0200 |
| |
>>>>> "Arnd" == Arnd Bergmann <arnd@kernel.org> writes:
> From: Arnd Bergmann <arnd@arndb.de> > 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") > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> > Link: > https://lore.kernel.org/lkml/CAMuHMdVUQ2WgtpYPYfO2T=itMmZ7w=geREqDtsP8Q3ODh9rxdw@mail.gmail.com/ > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Korsgaard <peter@korsgaard.com>
-- Bye, Peter Korsgaard
| ![\](/images/icornerr.gif) |