summaryrefslogtreecommitdiffstats
path: root/drivers/soc/qcom
diff options
context:
space:
mode:
authorBjorn Andersson <andersson@kernel.org>2022-12-28 11:32:58 -0600
committerBjorn Andersson <andersson@kernel.org>2022-12-28 11:32:58 -0600
commit40ebfbec52108be22cb68ecb9dcbd4917583a87c (patch)
treed0fc578df424700839cc7e44f38614631ff3cb66 /drivers/soc/qcom
parent9732dd8d347851cb9c2fdabd35046ba0c470543e (diff)
downloadlinux-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.c1
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>