summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-29 21:00:32 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-11-06 09:14:11 +0800
commit1cda48f333acd0f822720275730de0e6a6591a75 (patch)
tree32ccb3b33438574fcf39620ed199d535b55b1cb3 /arch
parent1ce61cbbe7b351041b31c59cf7c5d8b056a199ec (diff)
downloadu-boot-imx-1cda48f333acd0f822720275730de0e6a6591a75.zip
u-boot-imx-1cda48f333acd0f822720275730de0e6a6591a75.tar.gz
u-boot-imx-1cda48f333acd0f822720275730de0e6a6591a75.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/nios2/include/asm/io.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index 007df8d..e04050f 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)