summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-aspeed.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-aspeed.c')
-rw-r--r--drivers/rtc/rtc-aspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-aspeed.c b/drivers/rtc/rtc-aspeed.c
index a93352ed3aec..880b015eebaf 100644
--- a/drivers/rtc/rtc-aspeed.c
+++ b/drivers/rtc/rtc-aspeed.c
@@ -118,7 +118,7 @@ MODULE_DEVICE_TABLE(of, aspeed_rtc_match);
static struct platform_driver aspeed_rtc_driver = {
.driver = {
.name = "aspeed-rtc",
- .of_match_table = of_match_ptr(aspeed_rtc_match),
+ .of_match_table = aspeed_rtc_match,
},
};