projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9732dd8
)
soc: qcom: ramp_controller: Include linux/bitfield.h
author
Bjorn Andersson
<andersson@kernel.org>
Wed, 28 Dec 2022 17:32:58 +0000
(11:32 -0600)
committer
Bjorn Andersson
<andersson@kernel.org>
Wed, 28 Dec 2022 17:32:58 +0000
(11:32 -0600)
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>
drivers/soc/qcom/ramp_controller.c
patch
|
blob
|
history
diff --git
a/drivers/soc/qcom/ramp_controller.c
b/drivers/soc/qcom/ramp_controller.c
index 8f8c514b72882b8d22c60a908a4b478d5e017948..93652b07e812d0c0507376db00a1e1676a2cba1d 100644
(file)
--- 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>