Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 29 Dec 2022 02:46:10 +0100 | Subject | Re: [PATCH 2/2] gpio: vf610: Support building gpio-vf610 driver as module |
| |
On Tue, Dec 20, 2022 at 10:02 AM <haibo.chen@nxp.com> wrote:
> From: Haibo Chen <haibo.chen@nxp.com> > > To support Android GKI, need to build this driver as module. > So change the config as tristate type, and add module license. > > Signed-off-by: Jindong Yue <jindong.yue@nxp.com> > Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
OK...
> builtin_platform_driver(vf610_gpio_driver);
Then you want something like module_platform_driver() here.
Yours, Linus Walleij
| |