summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max31335.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-max31335.c')
-rw-r--r--drivers/rtc/rtc-max31335.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max31335.c b/drivers/rtc/rtc-max31335.c
index 402fda8fd548..a2441e5c2c74 100644
--- a/drivers/rtc/rtc-max31335.c
+++ b/drivers/rtc/rtc-max31335.c
@@ -204,7 +204,7 @@ static bool max31335_volatile_reg(struct device *dev, unsigned int reg)
return true;
/* interrupt status register */
- if (reg == MAX31335_INT_EN1_A1IE)
+ if (reg == MAX31335_STATUS1)
return true;
/* temperature registers */