[PATCH 3/5] drivers/rtc/rtc-xgene: Add "snps,dw-apb-rtc" into the "compatible"

From: wefu
Date: Fri Apr 12 2024 - 04:03:55 EST


From: Wei Fu <wefu@xxxxxxxxxx>

This patch add "snps,dw-apb-rtc" into the "compatible".

Signed-off-by: Wei Fu <wefu@xxxxxxxxxx>
---
drivers/rtc/rtc-xgene.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/rtc-xgene.c b/drivers/rtc/rtc-xgene.c
index 4d6f1629b973..5163682f9816 100644
--- a/drivers/rtc/rtc-xgene.c
+++ b/drivers/rtc/rtc-xgene.c
@@ -287,6 +287,7 @@ static SIMPLE_DEV_PM_OPS(xgene_rtc_pm_ops, xgene_rtc_suspend, xgene_rtc_resume);
#ifdef CONFIG_OF
static const struct of_device_id xgene_rtc_of_match[] = {
{.compatible = "apm,xgene-rtc" },
+ {.compatible = "snps,dw-apb-rtc" },
{ }
};
MODULE_DEVICE_TABLE(of, xgene_rtc_of_match);
--
2.44.0