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. Best regards, Krzysztof