diff options
| author | Liao Chen <[email protected]> | 2024-08-31 07:50:58 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-09-16 13:24:58 +0000 |
| commit | 433f1f79050d4d0a19fee6c0ddf1b7988bc04dd6 (patch) | |
| tree | 887afde744f32ccdcf7e7608dffd8517eb74a25c /drivers/pwm/pwm-atmel-hlcdc.c | |
| parent | pwm: omap-dmtimer: Use of_property_read_bool() (diff) | |
| download | kernel-433f1f79050d4d0a19fee6c0ddf1b7988bc04dd6.tar.gz kernel-433f1f79050d4d0a19fee6c0ddf1b7988bc04dd6.zip | |
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: Liao Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel-hlcdc.c')
| -rw-r--r-- | drivers/pwm/pwm-atmel-hlcdc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c index 2afb302be02c..02660bd811c4 100644 --- a/drivers/pwm/pwm-atmel-hlcdc.c +++ b/drivers/pwm/pwm-atmel-hlcdc.c @@ -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 = { |
