All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] socfpga: fix include guard in misc.h (arch vs. global)
@ 2019-10-23 20:32 Simon Goldschmidt
  2019-10-24  2:22 ` Ley Foon Tan
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Goldschmidt @ 2019-10-23 20:32 UTC (permalink / raw)
  To: u-boot

The file arch/arm/mach-socfpga/include/mach/misc.h used the same include
guard as the global include/misc.h.

Fix this by giving the arch file an arch prefix.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
---

 arch/arm/mach-socfpga/include/mach/misc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-socfpga/include/mach/misc.h b/arch/arm/mach-socfpga/include/mach/misc.h
index 27d0b6a370..f11f907e1c 100644
--- a/arch/arm/mach-socfpga/include/mach/misc.h
+++ b/arch/arm/mach-socfpga/include/mach/misc.h
@@ -3,8 +3,8 @@
  * Copyright (C) 2016-2017 Intel Corporation
  */
 
-#ifndef _MISC_H_
-#define _MISC_H_
+#ifndef _SOCFPGA_MISC_H_
+#define _SOCFPGA_MISC_H_
 
 #include <asm/sections.h>
 
@@ -42,4 +42,4 @@ void socfpga_sdram_remap_zero(void);
 void do_bridge_reset(int enable, unsigned int mask);
 void socfpga_pl310_clear(void);
 
-#endif /* _MISC_H_ */
+#endif /* _SOCFPGA_MISC_H_ */
-- 
2.20.1

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

* [U-Boot] [PATCH] socfpga: fix include guard in misc.h (arch vs. global)
  2019-10-23 20:32 [U-Boot] [PATCH] socfpga: fix include guard in misc.h (arch vs. global) Simon Goldschmidt
@ 2019-10-24  2:22 ` Ley Foon Tan
  0 siblings, 0 replies; 2+ messages in thread
From: Ley Foon Tan @ 2019-10-24  2:22 UTC (permalink / raw)
  To: u-boot

On Wed, 2019-10-23 at 22:32 +0200, Simon Goldschmidt wrote:
> The file arch/arm/mach-socfpga/include/mach/misc.h used the same
> include
> guard as the global include/misc.h.
> 
> Fix this by giving the arch file an arch prefix.
> 
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>

> ---
> 
>  arch/arm/mach-socfpga/include/mach/misc.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-socfpga/include/mach/misc.h
> b/arch/arm/mach-socfpga/include/mach/misc.h
> index 27d0b6a370..f11f907e1c 100644
> --- a/arch/arm/mach-socfpga/include/mach/misc.h
> +++ b/arch/arm/mach-socfpga/include/mach/misc.h
> @@ -3,8 +3,8 @@
>   * Copyright (C) 2016-2017 Intel Corporation
>   */
>  
> -#ifndef _MISC_H_
> -#define _MISC_H_
> +#ifndef _SOCFPGA_MISC_H_
> +#define _SOCFPGA_MISC_H_
>  
>  #include <asm/sections.h>
>  
> @@ -42,4 +42,4 @@ void socfpga_sdram_remap_zero(void);
>  void do_bridge_reset(int enable, unsigned int mask);
>  void socfpga_pl310_clear(void);
>  
> -#endif /* _MISC_H_ */
> +#endif /* _SOCFPGA_MISC_H_ */

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

end of thread, other threads:[~2019-10-24  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 20:32 [U-Boot] [PATCH] socfpga: fix include guard in misc.h (arch vs. global) Simon Goldschmidt
2019-10-24  2:22 ` Ley Foon Tan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.