summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-stm32f4
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/arch-stm32f4')
-rw-r--r--arch/arm/include/asm/arch-stm32f4/stm32_pwr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h b/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
index de42996037..8af6de220d 100644
--- a/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
+++ b/arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
@@ -5,6 +5,11 @@
*/
#ifndef __STM32_PWR_H_
+#define __STM32_PWR_H_
+
+#ifndef __ASSEMBLY__
+#include <linux/bitops.h>
+#endif
/*
* Offsets of some PWR registers