Skip to contentSkip to conversation

regmap: sdw: add required header files

PATCH In review Bard Liao 4 participants 4 messages Nov 26, 2020

Subsystems (2)
lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/1 regmap: sdw: add required header files

From: Pierre-Louis Bossart <[email protected]>

Explicitly add header files used by regmap SoundWire support.

---
 drivers/base/regmap/regmap-sdw.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/base/regmap/regmap-sdw.c +2 -0
index c92d614b4943..c83be26434e7 100644
@@ -2,7 +2,9 @@
 // Copyright(c) 2015-17 Intel Corporation.
 
 #include <linux/device.h>
+#include <linux/errno.h>
 #include <linux/module.h>
+#include <linux/regmap.h>
 #include <linux/soundwire/sdw.h>
 #include "internal.h"
 
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 3 lines · Bard Liao

From: Pierre-Louis Bossart <[email protected]>

Explicitly add header files used by regmap SoundWire support.

What is failing to build without this?

thanks,

greg k-h

#2 lore raw
Quoted 14 lines

-----Original Message-----
From: Greg KH <[email protected]>
Sent: Thursday, November 26, 2020 1:35 PM
To: Bard Liao <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Kale, Sanyog R <[email protected]>; Liao, Bard <[email protected]>
Subject: Re: [PATCH] regmap: sdw: add required header files

Quoted 6 lines
Quoted 3 lines · Bard Liao

From: Pierre-Louis Bossart <[email protected]>

Explicitly add header files used by regmap SoundWire support.

What is failing to build without this?

I didn't see build errors. But, Documentation/process/submit-checklist.rst says.
1) If you use a facility then #include the file that defines/declares that facility. Don't depend on other header files pulling in ones that you use.

Quoted 4 lines

thanks,

greg k-h

maintainer
#3 lore raw
In reply to Bard Liao
Quoted 1 line · Bard Liao

Explicitly add header files used by regmap SoundWire support.

Applied to

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

Thanks!

[1/1] regmap: sdw: add required header files

      commit: d9a500b2985b139d7019231ec16e379d2031cb40

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