]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: atmel-mci: incude asm/cacheclush.h
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Jun 2014 21:14:38 +0000 (23:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 12 Jun 2014 08:50:14 +0000 (10:50 +0200)
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>
drivers/mmc/host/atmel-mci.c

index aece7cafbb9701c6dee629a622d156c74499dbc2..bb585d9409014e8bead8879acf5f7145e9e5790c 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/atmel-mci.h>
 #include <linux/atmel_pdc.h>
 
+#include <asm/cacheflush.h>
 #include <asm/io.h>
 #include <asm/unaligned.h>