On 28/04/2025 13:36, André Draszik wrote: > +static const struct of_device_id max77759_gpio_of_id[] = { > + { .compatible = "maxim,max77759-gpio", }, > + { } > +}; > +MODULE_DEVICE_TABLE(of, max77759_gpio_of_id); > + > +static struct platform_driver max77759_gpio_driver = { > + .driver = { > + .name = "max77759-gpio", > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > + .of_match_table = max77759_gpio_of_id, > + }, > + .probe = max77759_gpio_probe, > +}; > + > +module_platform_driver(max77759_gpio_driver); > + > +MODULE_AUTHOR("André Draszik <andre.dras...@linaro.org>"); > +MODULE_DESCRIPTION("GPIO driver for Maxim MAX77759"); > +MODULE_LICENSE("GPL"); > +MODULE_ALIAS("platform:max77759-gpio");
Drop alias, if you need it means you have incomplete platform ID table (because it means you will need to add more aliases on every new OF entry). > Best regards, Krzysztof