RE: [PATCH v3 5/9] regulator: renesas-usb-vbus-regulator: Add RZ/G3L VBUS regulator support

Biju Das <[email protected]>
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-kernel
Message-ID <TY3PR01MB113468F9FB9AF3DEB1598462086FF2@TY3PR01MB11346.jpnprd01.prod.outlook.com>
Hi Mark,

> -----Original Message-----
> From: Mark Brown <[email protected]>
> Sent: 07 July 2026 16:09
> Subject: Re: [PATCH v3 5/9] regulator: renesas-usb-vbus-regulator: Add RZ/G3L VBUS regulator support
> 
> On Tue, Jul 07, 2026 at 03:36:37PM +0100, Biju wrote:
> > From: Biju Das <[email protected]>
> >
> > Add dual USB VBUS regulator support for the RZ/G3L (r9a08g046) SoC,
> > which has two OTG controllers (one per port), unlike RZ/G3S which has only one.
> 
> Reviewed-by: Mark Brown <[email protected]>

I have encountered compilation issue on x86 with compile_test,
that build this driver as module.

Looks like I cannot use two module_platform_driver definitions
in a C file.

I will switch to single init explicitly registering 2 drivers like [1]

[1] https://elixir.bootlin.com/linux/v7.2-rc1/source/arch/sparc/kernel/central.c#L264

Cheers,
Biju
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.