Skip to contentSkip to conversation

atmel-boards: add missing atmel_mci.h

PATCH New Andreas Bießmann 1 participant 1 message Mar 13, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atmel-boards: add missing atmel_mci.h

From: Andreas Bie?mann <[email protected]>

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---

CC Albert Aribaud <[email protected]>
CC Reinhard Meyer <[email protected]>
CC egnite GmbH <[email protected]>
---
 board/egnite/ethernut5/ethernut5.c |    1 +
 board/emk/top9000/top9000.c        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
board/egnite/ethernut5/ethernut5.c +1 -0
index fd021a3..e99f437 100644
@@ -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>
board/emk/top9000/top9000.c +1 -0
index e0b4cf2..86a8d0b 100644
@@ -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>
Signature · 1 line
1.7.9.1