lkml.org 
[lkml]   [2024]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] i2c: ocores: convert to ioport_map() for IORESOURCE_IO
Date
>>>>> "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

\
 
 \ /
  Last update: 2024-05-27 16:30    [W:0.044 / U:4.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site