diff mbox

[U-Boot,1/4] arm: omap: abb: add missing include

Message ID 1386505759-29996-1-git-send-email-nikita@compulab.co.il
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Nikita Kiryanov Dec. 8, 2013, 12:29 p.m. UTC
ABB code uses LDELAY but does not include the header that provides its
definition.

Include the header.

Cc: Tom Rini <trini@ti.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
---
 arch/arm/cpu/armv7/omap-common/abb.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Nikita Kiryanov Dec. 8, 2013, 12:38 p.m. UTC | #1
Disclaimer: disregard the "1/4". This is supposed to be a standalone 
patch, I just forgot to
remove the patch counter before sending.

On 12/08/2013 02:29 PM, Nikita Kiryanov wrote:
> ABB code uses LDELAY but does not include the header that provides its
> definition.
>
> Include the header.
>
> Cc: Tom Rini <trini@ti.com>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> ---
>   arch/arm/cpu/armv7/omap-common/abb.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/cpu/armv7/omap-common/abb.c b/arch/arm/cpu/armv7/omap-common/abb.c
> index a46783f..423aeb9 100644
> --- a/arch/arm/cpu/armv7/omap-common/abb.c
> +++ b/arch/arm/cpu/armv7/omap-common/abb.c
> @@ -11,6 +11,7 @@
>
>   #include <common.h>
>   #include <asm/omap_common.h>
> +#include <asm/arch/clock.h>
>   #include <asm/io.h>
>   #include <asm/arch/sys_proto.h>
>
>
Nishanth Menon Dec. 9, 2013, 3:57 p.m. UTC | #2
On Sun, Dec 8, 2013 at 6:29 AM, Nikita Kiryanov <nikita@compulab.co.il> wrote:
> ABB code uses LDELAY but does not include the header that provides its
> definition.
>
> Include the header.
>
> Cc: Tom Rini <trini@ti.com>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>

Acked-by: Nishanth Menon <nm@ti.com>
> ---
>  arch/arm/cpu/armv7/omap-common/abb.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/cpu/armv7/omap-common/abb.c b/arch/arm/cpu/armv7/omap-common/abb.c
> index a46783f..423aeb9 100644
> --- a/arch/arm/cpu/armv7/omap-common/abb.c
> +++ b/arch/arm/cpu/armv7/omap-common/abb.c
> @@ -11,6 +11,7 @@
>
>  #include <common.h>
>  #include <asm/omap_common.h>
> +#include <asm/arch/clock.h>
>  #include <asm/io.h>
>  #include <asm/arch/sys_proto.h>
>
> --
> 1.8.1.2
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Tom Rini Dec. 13, 2013, 12:46 p.m. UTC | #3
On Sun, Dec 08, 2013 at 02:29:19PM +0200, Nikita Kiryanov wrote:

> ABB code uses LDELAY but does not include the header that provides its
> definition.
> 
> Include the header.
> 
> Cc: Tom Rini <trini@ti.com>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> Acked-by: Nishanth Menon <nm@ti.com>

Applied to u-boot-ti/master, thanks!
diff mbox

Patch

diff --git a/arch/arm/cpu/armv7/omap-common/abb.c b/arch/arm/cpu/armv7/omap-common/abb.c
index a46783f..423aeb9 100644
--- a/arch/arm/cpu/armv7/omap-common/abb.c
+++ b/arch/arm/cpu/armv7/omap-common/abb.c
@@ -11,6 +11,7 @@ 
 
 #include <common.h>
 #include <asm/omap_common.h>
+#include <asm/arch/clock.h>
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>