Commit 433f1f79 authored by Liao Chen's avatar Liao Chen Committed by Uwe Kleine-König
Browse files

pwm: atmel-hlcdc: Enable module autoloading



Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
on the alias from of_device_id table.

Signed-off-by: default avatarLiao Chen <liaochen4@huawei.com>
Link: https://lore.kernel.org/r/20240831075059.790861-2-liaochen4@huawei.com


Signed-off-by: default avatarUwe Kleine-König <ukleinek@kernel.org>
parent 89deb4c8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -290,6 +290,7 @@ static const struct of_device_id atmel_hlcdc_pwm_dt_ids[] = {
	{ .compatible = "atmel,hlcdc-pwm" },
	{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, atmel_hlcdc_pwm_dt_ids);

static struct platform_driver atmel_hlcdc_pwm_driver = {
	.driver = {