diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-05 17:14:38 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-06-12 04:50:14 -0400 |
commit | bf614c7a214592c4cd2a2ccffc0f43539437af6b (patch) | |
tree | 931fd3fb108e3748c4b97c12d0ce495c574979f1 | |
parent | ed1761d7d8b83a632f34bfe6a636ceba85bfe8c8 (diff) |
mmc: atmel-mci: incude asm/cacheclush.h
This avoids a build error due to the use of flush_dcache_page.
drivers/mmc/host/atmel-mci.c: In function 'atmci_read_data_pio':
drivers/mmc/host/atmel-mci.c:1870:5: error: implicit declaration of function 'flush_dcache_page' [-Werror=implicit-function-declaration]
flush_dcache_page(sg_page(sg));
^
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/host/atmel-mci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index aece7cafbb97..bb585d940901 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/atmel-mci.h> | 37 | #include <linux/atmel-mci.h> |
38 | #include <linux/atmel_pdc.h> | 38 | #include <linux/atmel_pdc.h> |
39 | 39 | ||
40 | #include <asm/cacheflush.h> | ||
40 | #include <asm/io.h> | 41 | #include <asm/io.h> |
41 | #include <asm/unaligned.h> | 42 | #include <asm/unaligned.h> |
42 | 43 | ||