projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce61cb
)
nios2: remove the useless parenthesis in asm/io.h
author
Thomas Chou
<
[email protected]
>
Thu, 29 Oct 2015 13:00:32 +0000
(21:00 +0800)
committer
Thomas Chou
<
[email protected]
>
Fri, 6 Nov 2015 01:14:11 +0000
(09:14 +0800)
Remove the useless parenthesis in asm/io.h as suggested
by Marek.
Signed-off-by: Thomas Chou <
[email protected]
>
Acked-by: Marek Vasut <
[email protected]
>
arch/nios2/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/nios2/include/asm/io.h
b/arch/nios2/include/asm/io.h
index 007df8d9ba22e72ee3141720f672c8b8c43542bb..e04050ff431cc10bb7f7beb065d71c95f20cb0b3 100644
(file)
--- 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)