[U-Boot] [PATCH] 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 thomas@wytron.com.tw --- arch/nios2/include/asm/io.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 3443408..03a3418 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -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 0
static inline void * map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)

On Thursday, October 29, 2015 at 02:03:39 PM, Thomas Chou wrote:
Remove the useless parenthesis in asm/io.h as suggested by Marek.
Signed-off-by: Thomas Chou thomas@wytron.com.tw
Yes, this patch does not break anything ;-)
Tested-by: Marek Vasut marex@denx.de
Acked-by: Marek Vasut marex@denx.de
Best regards, Marek Vasut

On 2015年10月29日 21:03, Thomas Chou wrote:
Remove the useless parenthesis in asm/io.h as suggested by Marek.
Signed-off-by: Thomas Chou thomas@wytron.com.tw
arch/nios2/include/asm/io.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to u-boot-nios.
participants (2)
-
Marek Vasut
-
Thomas Chou