Skip to content

Commit

Permalink
socfpga: fix include guard in misc.h (arch vs. global)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Ley Foon Tan <[email protected]>
  • Loading branch information
goldsimon authored and Marek Vasut committed Nov 20, 2019
1 parent aacd7b9 commit 26fb85f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/mach-socfpga/include/mach/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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_ */

0 comments on commit 26fb85f

Please sign in to comment.