Re: [RFC v2 12/39] i2c: add HAS_IOPORT dependencies

From: Wolfram Sang
Date: Sat May 14 2022 - 10:06:52 EST


On Fri, Apr 29, 2022 at 03:50:19PM +0200, Niklas Schnelle wrote:
> In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
> not being declared. We thus need to add HAS_IOPORT as dependency for
> those drivers using them.
>
> Co-developed-by: Arnd Bergmann <arnd@xxxxxxxxxx>
> Signed-off-by: Niklas Schnelle <schnelle@xxxxxxxxxxxxx>

What has changed since RFC v1?

> @@ -1232,6 +1233,7 @@ config I2C_CP2615
> config I2C_PARPORT
> tristate "Parallel port adapter"
> depends on PARPORT
> + depends on HAS_IOPORT
> select I2C_ALGOBIT
> select I2C_SMBUS
> help

Didn't you want to drop this one?

Attachment: signature.asc
Description: PGP signature