Skip to content

Commit 30e677a

Browse files
Yu Jiahuasre
authored andcommitted
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent dfe52db commit 30e677a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/power/reset/keystone-reset.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ static const struct of_device_id rsctrl_of_match[] = {
7171
{.compatible = "ti,keystone-reset", },
7272
{},
7373
};
74+
MODULE_DEVICE_TABLE(of, rsctrl_of_match);
7475

7576
static int rsctrl_probe(struct platform_device *pdev)
7677
{

0 commit comments

Comments
 (0)