devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 1/2] mfd: cpcap: Add missing include dependencies
@ 2017-03-22  0:09 Sebastian Reichel
  2017-03-22  0:09 ` [PATCHv2 2/2] leds: cpcap: new driver Sebastian Reichel
  2017-03-22  9:27 ` [PATCHv2 1/2] mfd: cpcap: Add missing include dependencies Pavel Machek
  0 siblings, 2 replies; 8+ messages in thread
From: Sebastian Reichel @ 2017-03-22  0:09 UTC (permalink / raw)
  To: Sebastian Reichel, Tony Lindgren, Richard Purdie,
	Jacek Anaszewski, Pavel Machek, Lee Jones
  Cc: Rob Herring, Mark Rutland, linux-leds, devicetree, linux-kernel

This fixes compilation for files, that try to include the
cpcap header in alphabetically sorted #include lists.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
This patch is new, since PATCHv1 did not order the includes
in the led driver alphabetically.
---
 include/linux/mfd/motorola-cpcap.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/mfd/motorola-cpcap.h b/include/linux/mfd/motorola-cpcap.h
index 7629e0d24d26..b8916953a537 100644
--- a/include/linux/mfd/motorola-cpcap.h
+++ b/include/linux/mfd/motorola-cpcap.h
@@ -14,6 +14,9 @@
  * published by the Free Software Foundation.
  */
 
+#include <linux/device.h>
+#include <linux/regmap.h>
+
 #define CPCAP_VENDOR_ST		0
 #define CPCAP_VENDOR_TI		1
 
-- 
2.11.0

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

end of thread, other threads:[~2017-03-23 14:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22  0:09 [PATCHv2 1/2] mfd: cpcap: Add missing include dependencies Sebastian Reichel
2017-03-22  0:09 ` [PATCHv2 2/2] leds: cpcap: new driver Sebastian Reichel
2017-03-22 20:24   ` Jacek Anaszewski
     [not found]     ` <30b1d220-730e-445d-cab1-8bb776a5b917-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-03-23  1:04       ` Sebastian Reichel
2017-03-22  9:27 ` [PATCHv2 1/2] mfd: cpcap: Add missing include dependencies Pavel Machek
2017-03-22 15:57   ` Tony Lindgren
     [not found]     ` <20170322155716.GC10760-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-03-23  1:00       ` Sebastian Reichel
2017-03-23 14:52         ` Tony Lindgren

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).