[PATCH v2 08/17] rtc: mt6397: add MT6323 support to RTC driver

From: sean.wang
Date: Wed Apr 25 2018 - 05:35:41 EST


From: Sean Wang <sean.wang@xxxxxxxxxxxx>

Just to add MT6323 support to existing RTC driver

Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx>
---
drivers/rtc/rtc-mt6397.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/rtc-mt6397.c b/drivers/rtc/rtc-mt6397.c
index 385f830..0df7ccd 100644
--- a/drivers/rtc/rtc-mt6397.c
+++ b/drivers/rtc/rtc-mt6397.c
@@ -398,6 +398,7 @@ static SIMPLE_DEV_PM_OPS(mt6397_pm_ops, mt6397_rtc_suspend,
mt6397_rtc_resume);

static const struct of_device_id mt6397_rtc_of_match[] = {
+ { .compatible = "mediatek,mt6323-rtc", },
{ .compatible = "mediatek,mt6397-rtc", },
{ }
};
--
2.7.4