Skip to content

Commit aa629e2

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

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
@@ -234,7 +234,7 @@ static struct platform_driver aspeed_watchdog_driver = {
234234
.remove = aspeed_wdt_remove,
235235
.driver = {
236236
.name = KBUILD_MODNAME,
237-
.of_match_table = aspeed_wdt_of_table,
237+
.of_match_table = of_match_ptr(aspeed_wdt_of_table),
238238
},
239239
};
240240
module_platform_driver(aspeed_watchdog_driver);

0 commit comments

Comments
 (0)