diff mbox series

include/fastboot.h: add missing types.h include

Message ID 20240621015135.1570605-1-caleb.connolly@linaro.org
State Accepted
Commit b091d3872833a4b8d088ee41348a2d4ff48067cc
Headers show
Series include/fastboot.h: add missing types.h include | expand

Commit Message

Caleb Connolly June 21, 2024, 1:51 a.m. UTC
Fixes a compile error when building with only the TCP fastboot implementation.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 include/fastboot.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Sam Protsenko June 21, 2024, 2:37 a.m. UTC | #1
On Thu, Jun 20, 2024 at 8:51 PM Caleb Connolly
<caleb.connolly@linaro.org> wrote:
>
> Fixes a compile error when building with only the TCP fastboot implementation.
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>

>  include/fastboot.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/fastboot.h b/include/fastboot.h
> index 2ca1b907a54d..b106d6177493 100644
> --- a/include/fastboot.h
> +++ b/include/fastboot.h
> @@ -11,8 +11,10 @@
>   */
>  #ifndef _FASTBOOT_H_
>  #define _FASTBOOT_H_
>
> +#include <linux/types.h>
> +
>  #define FASTBOOT_VERSION       "0.4"
>
>  /*
>   * Signals u-boot fastboot code to send multiple responses by
> --
> 2.45.0
>
Mattijs Korpershoek July 5, 2024, 12:15 p.m. UTC | #2
Hi Caleb,

Thank you for the patch.

On ven., juin 21, 2024 at 03:51, Caleb Connolly <caleb.connolly@linaro.org> wrote:

> Fixes a compile error when building with only the TCP fastboot implementation.
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>  include/fastboot.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/fastboot.h b/include/fastboot.h
> index 2ca1b907a54d..b106d6177493 100644
> --- a/include/fastboot.h
> +++ b/include/fastboot.h
> @@ -11,8 +11,10 @@
>   */
>  #ifndef _FASTBOOT_H_
>  #define _FASTBOOT_H_
>  
> +#include <linux/types.h>
> +
>  #define FASTBOOT_VERSION	"0.4"
>  
>  /*
>   * Signals u-boot fastboot code to send multiple responses by
> -- 
> 2.45.0
Mattijs Korpershoek July 9, 2024, 7:17 a.m. UTC | #3
Hi,

On Fri, 21 Jun 2024 03:51:02 +0200, Caleb Connolly wrote:
> Fixes a compile error when building with only the TCP fastboot implementation.
> 
> 

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)

[1/1] include/fastboot.h: add missing types.h include
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/b091d3872833a4b8d088ee41348a2d4ff48067cc

--
Mattijs
diff mbox series

Patch

diff --git a/include/fastboot.h b/include/fastboot.h
index 2ca1b907a54d..b106d6177493 100644
--- a/include/fastboot.h
+++ b/include/fastboot.h
@@ -11,8 +11,10 @@ 
  */
 #ifndef _FASTBOOT_H_
 #define _FASTBOOT_H_
 
+#include <linux/types.h>
+
 #define FASTBOOT_VERSION	"0.4"
 
 /*
  * Signals u-boot fastboot code to send multiple responses by