linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: bd71815: Fix missing include files
@ 2021-05-18 11:48 Axel Lin
  2021-05-18 12:00 ` Matti Vaittinen
  2021-05-18 16:31 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2021-05-18 11:48 UTC (permalink / raw)
  To: Mark Brown; +Cc: Matti Vaittinen, Liam Girdwood, linux-kernel, Axel Lin

Include linux/of.h and linux/gpio/consumer.h to fix below errors:
error: implicit declaration of function ‘of_match_ptr’
error: implicit declaration of function ‘devm_gpiod_get_from_of_node’

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/bd71815-regulator.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/regulator/bd71815-regulator.c b/drivers/regulator/bd71815-regulator.c
index a4e8d5e36b40..a079efa80092 100644
--- a/drivers/regulator/bd71815-regulator.c
+++ b/drivers/regulator/bd71815-regulator.c
@@ -13,6 +13,8 @@
 #include <linux/init.h>
 #include <linux/err.h>
 #include <linux/platform_device.h>
+#include <linux/of.h>
+#include <linux/gpio/consumer.h>
 #include <linux/regulator/driver.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: bd71815: Fix missing include files
  2021-05-18 11:48 [PATCH] regulator: bd71815: Fix missing include files Axel Lin
@ 2021-05-18 12:00 ` Matti Vaittinen
  2021-05-18 16:31 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Matti Vaittinen @ 2021-05-18 12:00 UTC (permalink / raw)
  To: Axel Lin, Mark Brown; +Cc: Liam Girdwood, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]


On Tue, 2021-05-18 at 19:48 +0800, Axel Lin wrote:
> Include linux/of.h and linux/gpio/consumer.h to fix below errors:
> error: implicit declaration of function ‘of_match_ptr’
> error: implicit declaration of function ‘devm_gpiod_get_from_of_node’
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Thanks Axel.

Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: bd71815: Fix missing include files
  2021-05-18 11:48 [PATCH] regulator: bd71815: Fix missing include files Axel Lin
  2021-05-18 12:00 ` Matti Vaittinen
@ 2021-05-18 16:31 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2021-05-18 16:31 UTC (permalink / raw)
  To: Axel Lin; +Cc: Mark Brown, Liam Girdwood, linux-kernel, Matti Vaittinen

On Tue, 18 May 2021 19:48:43 +0800, Axel Lin wrote:
> Include linux/of.h and linux/gpio/consumer.h to fix below errors:
> error: implicit declaration of function ‘of_match_ptr’
> error: implicit declaration of function ‘devm_gpiod_get_from_of_node’

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: bd71815: Fix missing include files
      commit: 3799fa23afa4cac347739d5290df44a474a82a82

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-18 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 11:48 [PATCH] regulator: bd71815: Fix missing include files Axel Lin
2021-05-18 12:00 ` Matti Vaittinen
2021-05-18 16:31 ` 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).