diff options
author | Yu Jiahua <yujiahua1@huawei.com> | 2021-06-15 19:46:22 -0800 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-06-30 00:06:37 +0200 |
commit | 30e677a2ba2920b1234d1b38307dfa1dbb993e20 (patch) | |
tree | 7781645eb5adc30ec7cd303a002054082cee89a1 /drivers/power | |
parent | dfe52db13ab8d24857a9840ec7ca75eef800c26c (diff) |
drivers: power: add missing MODULE_DEVICE_TABLE in keystone-reset.c
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.
Signed-off-by: Yu Jiahua <yujiahua1@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/reset/keystone-reset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c index 211eeef0c81a..c720112db704 100644 --- a/drivers/power/reset/keystone-reset.c +++ b/drivers/power/reset/keystone-reset.c @@ -71,6 +71,7 @@ static const struct of_device_id rsctrl_of_match[] = { {.compatible = "ti,keystone-reset", }, {}, }; +MODULE_DEVICE_TABLE(of, rsctrl_of_match); static int rsctrl_probe(struct platform_device *pdev) { |