[PATCH 1/1] i3c: Add stub functions when I3C support is disabled
Alexandre Belloni
alexandre.belloni at bootlin.com
Tue Jan 20 15:02:18 PST 2026
Hello,
On 15/01/2026 17:12:20+0000, Jonathan Cameron wrote:
> On Wed, 14 Jan 2026 16:02:06 +0100
> Alexandre Belloni <alexandre.belloni at bootlin.com> wrote:
>
> > On Tue, 30 Dec 2025 09:57:18 -0500, Frank Li wrote:
> > > When I3C is disabled, unused functions are removed by the linker because
> > > the driver relies on regmap and no I3C devices are registered, so normal
> > > I3C paths are never called.
> > >
> > > However, some drivers may still call low-level I3C transfer helpers.
> > > Provide stub implementations to avoid adding conditional ifdefs everywhere.
> > >
> > > [...]
> >
> > Applied, thanks!
> >
> > [1/1] i3c: Add stub functions when I3C support is disabled
> > https://git.kernel.org/i3c/c/8564f88df202
> >
> > Best regards,
> >
>
> Hi Alexandre,
>
> This is going to make for an 'interesting' merge window as I'm getting
> build failures without that patch. I don't suppose you'd mind
> doing an immutable branch?
>
I just sent it, let me know if this works for you.
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the linux-i3c
mailing list