diff mbox

mmc: include linux/types.h for bool definition in atmel-mci.h

Message ID 1407417246-29709-1-git-send-email-egtvedt@samfundet.no (mailing list archive)
State New, archived
Headers show

Commit Message

Hans-Christian Noren Egtvedt Aug. 7, 2014, 1:14 p.m. UTC
This patch adds an include of linux/types.h to make sure bool is defined
before utilized in this header file.

Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
---
 include/linux/atmel-mci.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ludovic Desroches Aug. 8, 2014, 12:45 p.m. UTC | #1
On Thu, Aug 07, 2014 at 03:14:06PM +0200, Hans-Christian Egtvedt wrote:
> This patch adds an include of linux/types.h to make sure bool is defined
> before utilized in this header file.
> 
> Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>

Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>

Thanks

> ---
>  include/linux/atmel-mci.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/linux/atmel-mci.h b/include/linux/atmel-mci.h
> index 4c7a4b2..91b77f8 100644
> --- a/include/linux/atmel-mci.h
> +++ b/include/linux/atmel-mci.h
> @@ -1,6 +1,8 @@
>  #ifndef __LINUX_ATMEL_MCI_H
>  #define __LINUX_ATMEL_MCI_H
>  
> +#include <linux/types.h>
> +
>  #define ATMCI_MAX_NR_SLOTS	2
>  
>  /**
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ulf Hansson Aug. 12, 2014, 11:58 a.m. UTC | #2
On 7 August 2014 15:14, Hans-Christian Egtvedt <egtvedt@samfundet.no> wrote:
> This patch adds an include of linux/types.h to make sure bool is defined
> before utilized in this header file.
>
> Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>

Thanks! Queued for 3.18.

Kind regards
Uffe

> ---
>  include/linux/atmel-mci.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/atmel-mci.h b/include/linux/atmel-mci.h
> index 4c7a4b2..91b77f8 100644
> --- a/include/linux/atmel-mci.h
> +++ b/include/linux/atmel-mci.h
> @@ -1,6 +1,8 @@
>  #ifndef __LINUX_ATMEL_MCI_H
>  #define __LINUX_ATMEL_MCI_H
>
> +#include <linux/types.h>
> +
>  #define ATMCI_MAX_NR_SLOTS     2
>
>  /**
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/atmel-mci.h b/include/linux/atmel-mci.h
index 4c7a4b2..91b77f8 100644
--- a/include/linux/atmel-mci.h
+++ b/include/linux/atmel-mci.h
@@ -1,6 +1,8 @@ 
 #ifndef __LINUX_ATMEL_MCI_H
 #define __LINUX_ATMEL_MCI_H
 
+#include <linux/types.h>
+
 #define ATMCI_MAX_NR_SLOTS	2
 
 /**