summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-i801.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-04-08 12:28:36 +0300
committerAndi Shyti <andi.shyti@kernel.org>2024-05-06 01:55:26 +0300
commit48ace624878d01ed19df2191d5a5e902631e9dd3 (patch)
treee7a710e577feac705f27eabe7fab9cb1504f888f /drivers/i2c/busses/i2c-i801.c
parent47c21d2d52e0da05abdae63faa3de65cfb3afb74 (diff)
downloadlinux-48ace624878d01ed19df2191d5a5e902631e9dd3.tar.xz
i2c: ocores: convert to ioport_map() for IORESOURCE_IO
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: 47c21d2d52e0 ("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> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
0 files changed, 0 insertions, 0 deletions