* [PATCH] regulator: max20411: Directly include bitfield.h
@ 2023-01-26 22:54 broonie
2023-01-30 3:59 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: broonie @ 2023-01-26 22:54 UTC (permalink / raw)
To: Bjorn Andersson; +Cc: Liam Girdwood, linux-kernel, Mark Brown
From: Mark Brown <broonie@kernel.org>
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 | 1 +
1 file changed, 1 insertion(+)
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>
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: max20411: Directly include bitfield.h
2023-01-26 22:54 [PATCH] regulator: max20411: Directly include bitfield.h broonie
@ 2023-01-30 3:59 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2023-01-30 3:59 UTC (permalink / raw)
To: broonie; +Cc: Liam Girdwood, linux-kernel
On Thu, Jan 26, 2023 at 10:54:03PM +0000, broonie@kernel.org wrote:
> From: Mark Brown <broonie@kernel.org>
>
> 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>
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
> ---
> drivers/regulator/max20411-regulator.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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>
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-30 3:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 22:54 [PATCH] regulator: max20411: Directly include bitfield.h broonie
2023-01-30 3:59 ` Bjorn Andersson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.