aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/stm32_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/stm32_rtc.c')
-rw-r--r--drivers/rtc/stm32_rtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/stm32_rtc.c b/drivers/rtc/stm32_rtc.c
index 3e12f57ce0b..f9db318af1d 100644
--- a/drivers/rtc/stm32_rtc.c
+++ b/drivers/rtc/stm32_rtc.c
@@ -9,6 +9,7 @@
#include <rtc.h>
#include <asm/io.h>
#include <dm/device_compat.h>
+#include <linux/bitops.h>
#include <linux/iopoll.h>
#define STM32_RTC_TR 0x00