From b3bbc763f9083c2c7c0cedd9a2d0c1d8d4c50261 Mon Sep 17 00:00:00 2001 From: Han Gao Date: Sun, 1 Oct 2023 16:38:33 +0800 Subject: [PATCH] [NFU] pwm: thead: fix automatic load module Signed-off-by: Han Gao --- drivers/pwm/pwm-thead.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/pwm-thead.c b/drivers/pwm/pwm-thead.c index 8339f5617b6f6a..58a73dcdb30152 100644 --- a/drivers/pwm/pwm-thead.c +++ b/drivers/pwm/pwm-thead.c @@ -267,6 +267,7 @@ static const struct of_device_id thead_pwm_dt_ids[] = { {.compatible = "thead,th1520-pwm",}, {/* sentinel */} }; +MODULE_DEVICE_TABLE(of, thead_pwm_dt_ids); static const struct dev_pm_ops thead_pwm_pm_ops = { SET_RUNTIME_PM_OPS(thead_pwm_runtime_suspend, thead_pwm_runtime_resume, NULL)