mmc: include linux/types.h for bool definition in atmel-mci.h
authorHans-Christian Egtvedt <egtvedt@samfundet.no>
Thu, 7 Aug 2014 13:14:06 +0000 (15:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:58:58 +0000 (13:58 +0200)
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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
include/linux/atmel-mci.h

index 4c7a4b2104bfc6b105f5258763fda8f0fa6685df..91b77f8d495da646da8975014e9ce118f405880e 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __LINUX_ATMEL_MCI_H
 #define __LINUX_ATMEL_MCI_H
 
+#include <linux/types.h>
+
 #define ATMCI_MAX_NR_SLOTS     2
 
 /**