nios2: remove the useless parenthesis in asm/io.h
PATCH 1/1 nios2: remove the useless parenthesis in asm/io.h
Remove the useless parenthesis in asm/io.h as suggested by Marek.
Signed-off-by Thomas Chou <[email protected]>
--- arch/nios2/include/asm/io.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/nios2/include/asm/io.h +4 -4
@@ -18,10 +18,10 @@ static inline void sync(void)* that can be used to access the memory range with the caching * properties specified by "flags". */ -#define MAP_NOCACHE (1) -#define MAP_WRCOMBINE (0) -#define MAP_WRBACK (0) -#define MAP_WRTHROUGH (0) +#define MAP_NOCACHE 1 +#define MAP_WRCOMBINE 0 +#define MAP_WRBACK 0 +#define MAP_WRTHROUGH 0static inline void *map_physmem (phys_addr_t paddr,unsigned long len,unsigned long flags)
Signature · 1 line
2.1.4
PATCH 1/1 nios2: remove the useless parenthesis in asm/io.h
Quoted 4 lines · Thomas Chou
Remove the useless parenthesis in
asm/io.has suggested by Marek.Signed-off-by Thomas Chou <[email protected]>
Yes, this patch does not break anything ;-)
Tested-by Marek Vasut <[email protected]>
Acked-by Marek Vasut <[email protected]>
Best regards,
Marek Vasut
PATCH 1/1 nios2: remove the useless parenthesis in asm/io.h
In reply to Thomas ChouQuoted 8 lines · Thomas Chou
Remove the useless parenthesis in
asm/io.has suggested by Marek.Signed-off-by Thomas Chou <[email protected]>--- arch/nios2/include/asm/io.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to u-boot-nios.