Re: Re: [PATCH] gpio: vf610: Allow building as a module

From: Bartosz Golaszewski
Date: Tue Apr 08 2025 - 06:07:21 EST


On Tue, Apr 8, 2025 at 11:46 AM Jindong Yue <jindong.yue@xxxxxxx> wrote:
>
> > -----Original Message-----
> > From: Bartosz Golaszewski <brgl@xxxxxxxx>
> > Sent: Tuesday, April 8, 2025 5:06 PM
> > To: Jindong Yue <jindong.yue@xxxxxxx>
> > Cc: linus.walleij@xxxxxxxxxx; linux-gpio@xxxxxxxxxxxxxxx;
> > linux-kernel@xxxxxxxxxxxxxxx
> > Subject: [EXT] Re: [PATCH] gpio: vf610: Allow building as a module
> >
> >
> > On Tue, Apr 8, 2025 at 10:20 AM Jindong Yue <jindong.yue@xxxxxxx> wrote:
> > >
> > > Change the config to a tristate type and add a module license to
> > > support building it as a module.
> > >
> >
> > I can tell what the patch is doing from the diff. I'm much more interested in why
> > this change is needed.
> I am building the vf610 driver as a module for use on the Android platform because the Android kernel (GKI) doesn't
> contain board-specific drivers, it requires that these drivers be built as a module and loaded into the system.
>

That's fine, just put it into the commit message.

Bartosz