diff options
Diffstat (limited to 'drivers/clk/altera')
-rw-r--r-- | drivers/clk/altera/clk-agilex.c | 1 | ||||
-rw-r--r-- | drivers/clk/altera/clk-agilex.h | 4 | ||||
-rw-r--r-- | drivers/clk/altera/clk-arria10.c | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/altera/clk-agilex.c b/drivers/clk/altera/clk-agilex.c index 63153fa..0042958 100644 --- a/drivers/clk/altera/clk-agilex.c +++ b/drivers/clk/altera/clk-agilex.c @@ -11,6 +11,7 @@ #include <dm/lists.h> #include <dm/util.h> #include <dt-bindings/clock/agilex-clock.h> +#include <linux/bitops.h> #include <asm/arch/clock_manager.h> diff --git a/drivers/clk/altera/clk-agilex.h b/drivers/clk/altera/clk-agilex.h index d93328e..cd68ebc 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)) diff --git a/drivers/clk/altera/clk-arria10.c b/drivers/clk/altera/clk-arria10.c index 694a942..ede0be2 100644 --- a/drivers/clk/altera/clk-arria10.c +++ b/drivers/clk/altera/clk-arria10.c @@ -12,6 +12,7 @@ #include <dm/devres.h> #include <dm/lists.h> #include <dm/util.h> +#include <linux/bitops.h> #include <asm/arch/clock_manager.h> |