Re: [PATCH 1/3] platform/chrome: cros_ec_charge_state: add new driver to control charge
From: Thomas Weißschuh
Date: Thu Nov 21 2024 - 09:11:56 EST
On 2024-11-21 15:00:13+0100, Krzysztof Kozlowski wrote:
> On 21/11/2024 14:47, Thomas Weißschuh wrote:
> >
> >> +
> >> + return 0;
> >> +}
> >> +
> >> +static const struct platform_device_id cros_ec_charge_state_id[] = {
> >> + { DRV_NAME, 0 },
> >> + {}
> >> +};
> >
> > Reference this in the platform_driver below.
>
> And missing module device table... This wasn't ever tested as module.
It has one in the general MODULE_*() macro soup at the end of the file.
But yes, it should be moved where it can be found, right after
cros_ec_charge_state_id.