mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: zii-common: add missing stddef.h include
@ 2019-05-31 10:29 Lucas Stach
  2019-06-04  6:56 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2019-05-31 10:29 UTC (permalink / raw)
  To: barebox

It's required for size_t types.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boards/zii-common/pn-fixup.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boards/zii-common/pn-fixup.h b/arch/arm/boards/zii-common/pn-fixup.h
index 39b848bd00d3..925e8ad63491 100644
--- a/arch/arm/boards/zii-common/pn-fixup.h
+++ b/arch/arm/boards/zii-common/pn-fixup.h
@@ -15,6 +15,8 @@
 #ifndef __ZII_PN_FIXUP__
 #define __ZII_PN_FIXUP__
 
+#include <linux/stddef.h>
+
 struct zii_pn_fixup {
 	const char *pn;
 	void (*callback) (const struct zii_pn_fixup *fixup);
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: zii-common: add missing stddef.h include
  2019-05-31 10:29 [PATCH] ARM: zii-common: add missing stddef.h include Lucas Stach
@ 2019-06-04  6:56 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-06-04  6:56 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Fri, May 31, 2019 at 12:29:39PM +0200, Lucas Stach wrote:
> It's required for size_t types.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/boards/zii-common/pn-fixup.h | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/boards/zii-common/pn-fixup.h b/arch/arm/boards/zii-common/pn-fixup.h
> index 39b848bd00d3..925e8ad63491 100644
> --- a/arch/arm/boards/zii-common/pn-fixup.h
> +++ b/arch/arm/boards/zii-common/pn-fixup.h
> @@ -15,6 +15,8 @@
>  #ifndef __ZII_PN_FIXUP__
>  #define __ZII_PN_FIXUP__
>  
> +#include <linux/stddef.h>
> +
>  struct zii_pn_fixup {
>  	const char *pn;
>  	void (*callback) (const struct zii_pn_fixup *fixup);
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-04  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 10:29 [PATCH] ARM: zii-common: add missing stddef.h include Lucas Stach
2019-06-04  6:56 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox