summaryrefslogtreecommitdiff
path: root/drivers/clk/altera/clk-agilex.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/altera/clk-agilex.h')
-rw-r--r--drivers/clk/altera/clk-agilex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/altera/clk-agilex.h b/drivers/clk/altera/clk-agilex.h
index d93328ef29..cd68ebc438 100644
--- a/drivers/clk/altera/clk-agilex.h
+++ b/drivers/clk/altera/clk-agilex.h
@@ -6,6 +6,10 @@
#ifndef _CLK_AGILEX_
#define _CLK_AGILEX_
+#ifndef __ASSEMBLY__
+#include <linux/bitops.h>
+#endif
+
#define CM_REG_READL(plat, reg) \
readl((plat)->regs + (reg))