diff mbox

[U-Boot,2/4] ARM: i.MX6: include prototype for get_board_rev()

Message ID 1412116804-31677-3-git-send-email-eric.nelson@boundarydevices.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Eric Nelson Sept. 30, 2014, 10:40 p.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic Oct. 21, 2014, 8:50 a.m. UTC | #1
On 01/10/2014 00:40, Eric Nelson wrote:
> 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>
> ---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

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,