Skip to content

Commit 706358a

Browse files
committed
watchdog/aspeed: Wrap in of_match_ptr
Signed-off-by: Joel Stanley <[email protected]>
1 parent 5fff907 commit 706358a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/aspeed_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static struct platform_driver aspeed_watchdog_driver = {
215215
.remove = aspeed_wdt_remove,
216216
.driver = {
217217
.name = KBUILD_MODNAME,
218-
.of_match_table = aspeed_wdt_of_table,
218+
.of_match_table = of_match_ptr(aspeed_wdt_of_table),
219219
},
220220
};
221221
module_platform_driver(aspeed_watchdog_driver);

0 commit comments

Comments
 (0)