]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: i.MX6: include prototype for get_board_rev()
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 30 Sep 2014 22:40:02 +0000 (15:40 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 21 Oct 2014 08:47:14 +0000 (10:47 +0200)
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@boundarydevices.com>
arch/arm/cpu/armv7/mx6/soc.c

index 63524222539134df5c69c6b2179a334850199ec4..6dc26003b692cbab444a1136f7f85d3eef3aca76 100644 (file)
@@ -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,