Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1608225

[PATCHv3 1/2] mfd: cpcap: Add missing include dependencies

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject [PATCHv3 1/2] mfd: cpcap: Add missing include dependencies
Date 2017-03-24 09:50 +0100
Message-ID <tot50-7ku-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
Changes since PATCHv2:
 - Add Acked-by from Tony & Pavel
---
 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 793aa695faa0..aefc49cb7ba9 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCHv3 1/2] mfd: cpcap: Add missing include dependencies Sebastian Reichel <sre@kernel.org> - 2017-03-24 09:50 +0100
  [PATCHv3 2/2] leds: cpcap: new driver Sebastian Reichel <sre@kernel.org> - 2017-03-24 09:50 +0100
  Re: [PATCHv3 1/2] mfd: cpcap: Add missing include dependencies Jacek Anaszewski <jacek.anaszewski@gmail.com> - 2017-03-24 21:50 +0100
    Re: [PATCHv3 1/2] mfd: cpcap: Add missing include dependencies Lee Jones <lee.jones@linaro.org> - 2017-03-27 16:30 +0200

csiph-web