diff options
author | Ley Foon Tan <lftan@altera.com> | 2014-11-20 05:44:56 -0500 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2014-12-07 23:56:08 -0500 |
commit | 568f6ba03c5ecba5c6dd13e51554c205172ebdaf (patch) | |
tree | 91e4cfc20bc723842d7d50b0209c53bc1d31f72a /arch/nios2 | |
parent | b29438f22c807d8a4bda6f0fb3e24318117906c0 (diff) |
nios2: remove unnecessary space before define
Remove extra space between # and define.
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r-- | arch/nios2/include/asm/io.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 13dc22b50800..65583ee4561a 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h | |||
@@ -48,14 +48,14 @@ static inline void iounmap(void __iomem *addr) | |||
48 | } | 48 | } |
49 | 49 | ||
50 | /* Pages to physical address... */ | 50 | /* Pages to physical address... */ |
51 | # define page_to_phys(page) virt_to_phys(page_to_virt(page)) | 51 | #define page_to_phys(page) virt_to_phys(page_to_virt(page)) |
52 | # define page_to_bus(page) page_to_virt(page) | 52 | #define page_to_bus(page) page_to_virt(page) |
53 | 53 | ||
54 | /* Macros used for converting between virtual and physical mappings. */ | 54 | /* Macros used for converting between virtual and physical mappings. */ |
55 | # define phys_to_virt(vaddr) \ | 55 | #define phys_to_virt(vaddr) \ |
56 | ((void *)((unsigned long)(vaddr) | CONFIG_NIOS2_KERNEL_REGION_BASE)) | 56 | ((void *)((unsigned long)(vaddr) | CONFIG_NIOS2_KERNEL_REGION_BASE)) |
57 | /* Clear top 3 bits */ | 57 | /* Clear top 3 bits */ |
58 | # define virt_to_phys(vaddr) \ | 58 | #define virt_to_phys(vaddr) \ |
59 | ((unsigned long)((unsigned long)(vaddr) & ~0xE0000000)) | 59 | ((unsigned long)((unsigned long)(vaddr) & ~0xE0000000)) |
60 | 60 | ||
61 | #endif /* _ASM_NIOS2_IO_H */ | 61 | #endif /* _ASM_NIOS2_IO_H */ |