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

From: Jacek Anaszewski
Date: Fri Mar 24 2017 - 16:45:34 EST


Hi Sebastianm

On 03/24/2017 09:47 AM, Sebastian Reichel wrote:
> This fixes compilation for files, that try to include the
> cpcap header in alphabetically sorted #include lists.
>
> Acked-by: Pavel Machek <pavel@xxxxxx>
> Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>
> Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx>
> ---
> 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
>
>

Both patches applied to the for-next branch of linux-leds.git, thanks.

--
Best regards,
Jacek Anaszewski