summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-04-19 16:05:48 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-04-19 16:05:48 -0400
commita897bf138c9b4435e17444efcc8269e9577f5165 (patch)
tree3fe44c594c0aed1b509326cd185fa61c505fff91 /drivers/rtc
parentdb2f814194eb5898b6e0a2de9700ef204f4d040f (diff)
rtc: m41t80: Add proper compatible for rv4162
The correct compatible for the rv4162 (microcrystal,rv4162) was not used upstream and so was not added by eb235c561d04e. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-m41t80.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c
index 5b070aa711f9..5ec4653022ff 100644
--- a/drivers/rtc/rtc-m41t80.c
+++ b/drivers/rtc/rtc-m41t80.c
@@ -129,6 +129,11 @@ static const struct of_device_id m41t80_of_match[] = {
129 .data = (void *)(M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ) 129 .data = (void *)(M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ)
130 }, 130 },
131 { 131 {
132 .compatible = "microcrystal,rv4162",
133 .data = (void *)(M41T80_FEATURE_SQ | M41T80_FEATURE_WD | M41T80_FEATURE_SQ_ALT)
134 },
135 /* DT compatibility only, do not use compatibles below: */
136 {
132 .compatible = "st,rv4162", 137 .compatible = "st,rv4162",
133 .data = (void *)(M41T80_FEATURE_SQ | M41T80_FEATURE_WD | M41T80_FEATURE_SQ_ALT) 138 .data = (void *)(M41T80_FEATURE_SQ | M41T80_FEATURE_WD | M41T80_FEATURE_SQ_ALT)
134 }, 139 },