OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b9a078
)
regulator: max20411: Directly include bitfield.h
author
Mark Brown
<broonie@kernel.org>
Thu, 26 Jan 2023 22:51:39 +0000
(22:51 +0000)
committer
Mark Brown
<broonie@kernel.org>
Thu, 26 Jan 2023 22:51:39 +0000
(22:51 +0000)
The max20411 driver uses bitfield.h but does not directly include
it, add an inclusion to avoid build errors in configurations
which do not result in an implicit inclusion.
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max20411-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max20411-regulator.c
b/drivers/regulator/max20411-regulator.c
index
69f04cb
..
b4faad5
100644
(file)
--- a/
drivers/regulator/max20411-regulator.c
+++ b/
drivers/regulator/max20411-regulator.c
@@
-4,6
+4,7
@@
* Copyright (c) 2022, Linaro Ltd.
*/
+#include <linux/bitfield.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/module.h>