[PATCH 1/3] reset: imx7: Support module build

Arnd Bergmann arnd at arndb.de
Mon Jun 29 07:28:11 EDT 2020


On Mon, Jun 29, 2020 at 12:45 PM Anson Huang <anson.huang at nxp.com> wrote:
> > Subject: Re: [PATCH 1/3] reset: imx7: Support module build
> > On Mon, Jun 29, 2020 at 12:25 PM Anson Huang <Anson.Huang at nxp.com> wrote:
>
> The reset driver normally won't be removed since it is necessary for drivers which
> need it, it is just for Android GKI support, in this case, do we need to change it to
> module_platform_driver()?

Please at least try to do it, or explain in the changelog what went wrong
if it doesn't work.

I don't think "because Android GKI" should ever be the sole justification for
a patch. Making drivers loadable module is a good idea regardless of GKI,
and if you do that, then make it behave like any other loadable module.

        Arnd



More information about the linux-arm-kernel mailing list