[U-Boot] [PATCH 2/4] ARM: i.MX6: include prototype for get_board_rev()
Eric Nelson
eric.nelson at boundarydevices.com
Wed Oct 1 00:40:02 CEST 2014
Include <asm/bootm.h> to see the prototype for get_board_rev()
and prevent warning "Should it be static?" with "make C=1".
Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
---
arch/arm/cpu/armv7/mx6/soc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index ba21cfe..f459d2f 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -20,6 +20,7 @@
#include <stdbool.h>
#include <asm/arch/mxc_hdmi.h>
#include <asm/arch/crm_regs.h>
+#include <asm/bootm.h>
enum ldo_reg {
LDO_ARM,
--
1.9.1
More information about the U-Boot
mailing list