]> git.sur5r.net Git - u-boot/commitdiff
atmel-boards: add missing atmel_mci.h
authorAndreas Bießmann <biessmann@corscience.de>
Tue, 13 Mar 2012 05:01:51 +0000 (05:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 28 Mar 2012 21:41:18 +0000 (23:41 +0200)
commit 72fa467988e7944407a634ddc4bc6a2df685c04c moved atmel_mci_init() into
include/atmel_mci.h. Some AT91 boards are also using this interface and need
to include atmel_mci.h now.

This patch fixes MAKEALL complaints like this:

---8<---
Configuring for ethernut5 - Board: ethernut5, Options: AT91SAM9XE
ethernut5.c: In function 'board_mmc_init':
ethernut5.c:235:2: warning: implicit declaration of function 'atmel_mci_init' [-Wimplicit-function-declaration]
--->8---

Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
CC: Albert Aribaud <albert.u.boot@aribaud.net>
CC: Reinhard Meyer <u-boot@emk-elektronik.de>
CC: egnite GmbH <info@egnite.de>
board/egnite/ethernut5/ethernut5.c
board/emk/top9000/top9000.c

index fd021a3af8b2efa85e10b830e970d0ca341e8e2b..e99f437a31542c3905835c236a8081825caf6e6e 100644 (file)
@@ -77,6 +77,7 @@
 #include <spi.h>
 #include <dataflash.h>
 #include <mmc.h>
+#include <atmel_mci.h>
 
 #include <asm/arch/at91sam9260.h>
 #include <asm/arch/at91sam9260_matrix.h>
index e0b4cf2c330599484a6ea1dfa60a0a72fe6c1726..86a8d0b5660cf16aa5f586149e8f2e79dd715e70 100644 (file)
@@ -29,6 +29,7 @@
 #include <net.h>
 #include <netdev.h>
 #include <mmc.h>
+#include <atmel_mci.h>
 #include <i2c.h>
 #include <spi.h>
 #include <asm/io.h>