* [PATCH] regulator: bd718x7: add missing linux/of.h inclusion
@ 2018-09-19 7:14 Matti Vaittinen
2018-10-29 9:40 ` Matti Vaittinen
0 siblings, 1 reply; 3+ messages in thread
From: Matti Vaittinen @ 2018-09-19 7:14 UTC (permalink / raw)
To: matti.vaittinen, mazziesaccount, lgirdwood, broonie; +Cc: linux-kernel
0-Day tests found compilation error on x86. Driver won't
compile on x86_64 as "of_match_ptr" is not found. Add missing
include <linux/of.h>
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
---
drivers/regulator/bd71837-regulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/bd71837-regulator.c b/drivers/regulator/bd71837-regulator.c
index 9b5e1297902f..4fe519581235 100644
--- a/drivers/regulator/bd71837-regulator.c
+++ b/drivers/regulator/bd71837-regulator.c
@@ -9,6 +9,7 @@
#include <linux/kernel.h>
#include <linux/mfd/rohm-bd718x7.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
--
2.14.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: bd718x7: add missing linux/of.h inclusion
2018-09-19 7:14 [PATCH] regulator: bd718x7: add missing linux/of.h inclusion Matti Vaittinen
@ 2018-10-29 9:40 ` Matti Vaittinen
2018-10-29 9:46 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Matti Vaittinen @ 2018-10-29 9:40 UTC (permalink / raw)
To: mazziesaccount, lgirdwood, broonie; +Cc: linux-kernel
Hello Mark,
I see we got build warning from 0-Day tests. It seems to me the
bd718x7.c file lacks of <linux/of.h> inclusion.
I am not sure what has happened as this include was added to bd71837.c
file with commit
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/?h=for-next&id=df43519eb706edfe951284a825642ce2e1d38d09
The bd71837.c was later renamed to bd718x7.c with
commit
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/drivers/regulator?h=for-next&id=2ece646c90c5b45dd76c76ea207a3f3459f2c472
So I am not sure where this include got lost. (I did search for all log
entries with my name and was not able to spot this change)
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/log/drivers/regulator?h=for-next&qt=grep&q=Vaittinen
Should I just create another patch to you where this inclusion is done again
or is there some better way to handle this? Can you cherry pick or
re-apply the commit
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/?h=for-next&id=df43519eb706edfe951284a825642ce2e1d38d09
- even though the file was later renamed?
Br,
Matti Vaittinen
--
Matti Vaittinen
ROHM Semiconductors
~~~ "I don't think so," said Rene Descartes. Just then, he vanished ~~~
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: bd718x7: add missing linux/of.h inclusion
2018-10-29 9:40 ` Matti Vaittinen
@ 2018-10-29 9:46 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2018-10-29 9:46 UTC (permalink / raw)
To: Matti Vaittinen; +Cc: mazziesaccount, lgirdwood, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
On Mon, Oct 29, 2018 at 11:40:41AM +0200, Matti Vaittinen wrote:
> Should I just create another patch to you where this inclusion is done again
> or is there some better way to handle this? Can you cherry pick or
> re-apply the commit
Just send another patch, it's easiest.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-29 9:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-19 7:14 [PATCH] regulator: bd718x7: add missing linux/of.h inclusion Matti Vaittinen
2018-10-29 9:40 ` Matti Vaittinen
2018-10-29 9:46 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).