From: Bjorn Andersson Date: Wed, 28 Dec 2022 17:32:58 +0000 (-0600) Subject: soc: qcom: ramp_controller: Include linux/bitfield.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=40ebfbec52108be22cb68ecb9dcbd4917583a87c;p=linux.git 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 --- diff --git a/drivers/soc/qcom/ramp_controller.c b/drivers/soc/qcom/ramp_controller.c index 8f8c514b72882..93652b07e812d 100644 --- a/drivers/soc/qcom/ramp_controller.c +++ b/drivers/soc/qcom/ramp_controller.c @@ -5,6 +5,7 @@ * */ +#include #include #include #include