mirror of
https://github.com/torvalds/linux
synced 2024-10-07 20:05:15 +00:00
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>
This commit is contained in:
parent
dfe52db13a
commit
30e677a2ba
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue