diff mbox

[U-Boot,V2,07/20] arch-mxs/sys_proto.h: include regs-common.h

Message ID 1375395521-18569-11-git-send-email-troy.kisky@boundarydevices.com
State Changes Requested
Delegated to: Marek Vasut
Headers show

Commit Message

Troy Kisky Aug. 1, 2013, 10:18 p.m. UTC
sys_proto uses mxs_register_32 so
include <asm/imx-common/regs-common.h>

like arch-mx6/sys_proto.h does.

This prevents warnings when building m28evk after
the next patch in the series.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
---
 arch/arm/include/asm/arch-mxs/sys_proto.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Troy Kisky Aug. 1, 2013, 10:48 p.m. UTC | #1
On 8/1/2013 3:18 PM, Troy Kisky wrote:
> sys_proto uses mxs_register_32 so
> include <asm/imx-common/regs-common.h>
>
> like arch-mx6/sys_proto.h does.
>
> This prevents warnings when building m28evk after
> the next patch in the series.
>
> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
> ---
>   arch/arm/include/asm/arch-mxs/sys_proto.h | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
> index 1038592..5ed6070 100644
> --- a/arch/arm/include/asm/arch-mxs/sys_proto.h
> +++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
> @@ -10,6 +10,8 @@
>   #ifndef __SYS_PROTO_H__
>   #define __SYS_PROTO_H__
>   
> +#include <asm/imx-common/regs-common.h>
> +
>   int mxs_reset_block(struct mxs_register_32 *reg);
>   int mxs_wait_mask_set(struct mxs_register_32 *reg,
>   		       uint32_t mask,
Sorry folks, I forgot to delete old patches when I rebased to put
Stefano patches together, please ignore this one.

Troy
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
index 1038592..5ed6070 100644
--- a/arch/arm/include/asm/arch-mxs/sys_proto.h
+++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
@@ -10,6 +10,8 @@ 
 #ifndef __SYS_PROTO_H__
 #define __SYS_PROTO_H__
 
+#include <asm/imx-common/regs-common.h>
+
 int mxs_reset_block(struct mxs_register_32 *reg);
 int mxs_wait_mask_set(struct mxs_register_32 *reg,
 		       uint32_t mask,