[PATCH 3/5] drivers/rtc/rtc-xgene: Add "snps,dw-apb-rtc" into the "compatible"
wefu at redhat.com
wefu at redhat.com
Fri Apr 12 01:01:45 PDT 2024
From: Wei Fu <wefu at redhat.com>
This patch add "snps,dw-apb-rtc" into the "compatible".
Signed-off-by: Wei Fu <wefu at redhat.com>
---
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
More information about the linux-riscv
mailing list