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>
Acked-by: Marek Vasut <marex@denx.de>
master
Thomas Chou 9 years ago
parent 1ce61cbbe7
commit 1cda48f333
  1. 8
      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)

Loading…
Cancel
Save