Commit 30e677a2 authored by Yu Jiahua's avatar Yu Jiahua Committed by Sebastian Reichel

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: default avatarYu Jiahua <yujiahua1@huawei.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent dfe52db1
...@@ -71,6 +71,7 @@ static const struct of_device_id rsctrl_of_match[] = { ...@@ -71,6 +71,7 @@ static const struct of_device_id rsctrl_of_match[] = {
{.compatible = "ti,keystone-reset", }, {.compatible = "ti,keystone-reset", },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, rsctrl_of_match);
static int rsctrl_probe(struct platform_device *pdev) static int rsctrl_probe(struct platform_device *pdev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment