summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max20411-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-01-26 22:51:39 +0000
committerMark Brown <broonie@kernel.org>2023-01-26 22:51:39 +0000
commitd5b4c8b909f5670e292fa655b22e3d35bf699c46 (patch)
tree4ade41518403796ce00eaefdbd8369daf46491a7 /drivers/regulator/max20411-regulator.c
parent0b9a0789e9b8fec59e7465a004e1d26ec495d000 (diff)
downloadlinux-stable-d5b4c8b909f5670e292fa655b22e3d35bf699c46.tar.gz
linux-stable-d5b4c8b909f5670e292fa655b22e3d35bf699c46.tar.bz2
linux-stable-d5b4c8b909f5670e292fa655b22e3d35bf699c46.zip
regulator: max20411: Directly include bitfield.h
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>
Diffstat (limited to 'drivers/regulator/max20411-regulator.c')
-rw-r--r--drivers/regulator/max20411-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max20411-regulator.c b/drivers/regulator/max20411-regulator.c
index 69f04cbe69f1..b4faad54c458 100644
--- 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>