Re: [PATCH] [v3, apply after -rc1] i3c: simplify combined i3c/i2c dependencies

Alexandre Belloni
2026-02-27T15:34:07Z

On Wed, 04 Feb 2026 17:41:58 +0100, Arnd Bergmann wrote:
> All combined i2c/i3c drivers appear to suffer from the same link
> time problem when CONFIG_I3C is set to 'm':
>
> arm-linux-gnueabi-ld: drivers/iio/magnetometer/mmc5633.o: in function `mmc5633_i3c_driver_init':
> mmc5633.c:(.init.text+0x30): undefined reference to `i3c_driver_register_with_owner'
>
> This was previously fixed every time by marking individual
> drivers as 'depends on I2C; depends on I3C || !I3C', but this gets
> tedious and is somewhat confusing.
>
> [...]

Applied, thanks!

[1/1] i3c: simplify combined i3c/i2c dependencies
https://git.kernel.org/abelloni/c/663eb8763c25

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering