diff options
author | Bjorn Andersson <andersson@kernel.org> | 2022-12-28 11:32:58 -0600 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-12-28 11:32:58 -0600 |
commit | 40ebfbec52108be22cb68ecb9dcbd4917583a87c (patch) | |
tree | d0fc578df424700839cc7e44f38614631ff3cb66 /drivers/soc/qcom | |
parent | 9732dd8d347851cb9c2fdabd35046ba0c470543e (diff) | |
download | linux-stable-40ebfbec52108be22cb68ecb9dcbd4917583a87c.tar.gz linux-stable-40ebfbec52108be22cb68ecb9dcbd4917583a87c.tar.bz2 linux-stable-40ebfbec52108be22cb68ecb9dcbd4917583a87c.zip |
soc: qcom: ramp_controller: Include linux/bitfield.h
Building ramp_controller under x86_64 results in the following build
error:
error: implicit declaration of function 'FIELD_PREP' is invalid in C99
Include linux/bitfield.h to ensure FIELD_PREP() is declared.
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/soc/qcom')
-rw-r--r-- | drivers/soc/qcom/ramp_controller.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/qcom/ramp_controller.c b/drivers/soc/qcom/ramp_controller.c index 8f8c514b7288..93652b07e812 100644 --- a/drivers/soc/qcom/ramp_controller.c +++ b/drivers/soc/qcom/ramp_controller.c @@ -5,6 +5,7 @@ * <angelogioacchino.delregno@collabora.com> */ +#include <linux/bitfield.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> |