[PATCH 1/1] i3c: Add stub functions when I3C support is disabled
Jonathan Cameron
jic23 at kernel.org
Wed Jan 21 12:00:09 PST 2026
On Wed, 21 Jan 2026 00:02:18 +0100
Alexandre Belloni <alexandre.belloni at bootlin.com> wrote:
> 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.
>
Thanks. I've dropped the temp fix and merged that ib.
Looks good.
Jonathan
More information about the linux-i3c
mailing list