summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-02-20 14:09:33 +0800
committerBo Shen <voice.shen@atmel.com>2013-02-20 14:09:33 +0800
commit42c809ec50e38e144b04a40fe786d255b254ea16 (patch)
tree3d7bdd8bccc115cdf78b9c677686f7f87fffaae1
parentfcb301e3ded730829ab74cd6d24ad87e0dcb26da (diff)
arm: sama5d3x: fix building warning
This patch fix following building warning - implicit declaration of function 'at91_gmacb_hw_init' - implicit declaration of function 'at91_lcd_hw_init' - implicit declaration of function 'atmel_mci_init' Signed-off-by: Bo Shen <voice.shen@atmel.com>
-rw-r--r--arch/arm/include/asm/arch-at91/at91_common.h2
-rw-r--r--board/atmel/sama5d3xek/sama5d3xek.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/at91_common.h b/arch/arm/include/asm/arch-at91/at91_common.h
index 8282f46199..88a644d133 100644
--- a/arch/arm/include/asm/arch-at91/at91_common.h
+++ b/arch/arm/include/asm/arch-at91/at91_common.h
@@ -26,6 +26,8 @@
#define AT91_COMMON_H
void at91_can_hw_init(void);
+void at91_gmacb_hw_init(void);
+void at91_lcd_hw_init(void);
void at91_macb_hw_init(void);
void at91_mci_hw_init(void);
void at91_serial0_hw_init(void);
diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c
index 47e4123bb2..26ac8fee3e 100644
--- a/board/atmel/sama5d3xek/sama5d3xek.c
+++ b/board/atmel/sama5d3xek/sama5d3xek.c
@@ -31,6 +31,7 @@
#include <asm/arch/clk.h>
#include <lcd.h>
#include <atmel_lcdc.h>
+#include <atmel_mci.h>
#if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB)
#include <net.h>
#endif