diff mbox

[U-Boot] include/usb/s3c_udc.h: Add <asm/sizes.h>

Message ID 1391714839-22840-1-git-send-email-trini@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Feb. 6, 2014, 7:27 p.m. UTC
With e0059ea switching to using SZ_1K, we need to #include <asm/sizes.h>
here for everyone to build still.

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/usb/s3c_udc.h |    1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Feb. 6, 2014, 9:07 p.m. UTC | #1
On Thu, Feb 06, 2014 at 02:27:19PM -0500, Tom Rini wrote:

> With e0059ea switching to using SZ_1K, we need to #include <asm/sizes.h>
> here for everyone to build still.
> 
> Signed-off-by: Tom Rini <trini@ti.com>

Applied to u-boot/master, thanks!
Marek Vasut Feb. 7, 2014, 12:12 a.m. UTC | #2
On Thursday, February 06, 2014 at 08:27:19 PM, Tom Rini wrote:
> With e0059ea switching to using SZ_1K, we need to #include <asm/sizes.h>
> here for everyone to build still.
> 
> Signed-off-by: Tom Rini <trini@ti.com>

Acked-by: Marek Vasut <marex@denx.de>

> ---
>  include/usb/s3c_udc.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/usb/s3c_udc.h b/include/usb/s3c_udc.h
> index 6dead2f..ce3dd2c 100644
> --- a/include/usb/s3c_udc.h
> +++ b/include/usb/s3c_udc.h
> @@ -10,6 +10,7 @@
>  #define __S3C_USB_GADGET
> 
>  #include <asm/errno.h>
> +#include <asm/sizes.h>
>  #include <linux/usb/ch9.h>
>  #include <linux/usb/gadget.h>
>  #include <linux/list.h>

Best regards,
Marek Vasut
Ɓukasz Majewski Feb. 7, 2014, 6:23 a.m. UTC | #3
Hi Tom,

> On Thu, Feb 06, 2014 at 02:27:19PM -0500, Tom Rini wrote:
> 
> > With e0059ea switching to using SZ_1K, we need to #include
> > <asm/sizes.h> here for everyone to build still.
> > 
> > Signed-off-by: Tom Rini <trini@ti.com>
> 
> Applied to u-boot/master, thanks!
> 

Thanks for fixing. I must confess that, I've wrongly assumed that
build tests only with Trats/Trats2 is enough.

My bad, sorry for inconvenience.
diff mbox

Patch

diff --git a/include/usb/s3c_udc.h b/include/usb/s3c_udc.h
index 6dead2f..ce3dd2c 100644
--- a/include/usb/s3c_udc.h
+++ b/include/usb/s3c_udc.h
@@ -10,6 +10,7 @@ 
 #define __S3C_USB_GADGET
 
 #include <asm/errno.h>
+#include <asm/sizes.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
 #include <linux/list.h>