aboutsummaryrefslogtreecommitdiff
path: root/include/asm-nios2/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-nios2/types.h')
-rw-r--r--include/asm-nios2/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-nios2/types.h b/include/asm-nios2/types.h
index f13d8bd4b..ea859c077 100644
--- a/include/asm-nios2/types.h
+++ b/include/asm-nios2/types.h
@@ -52,6 +52,9 @@ typedef unsigned long long u64;
/* Dma addresses are 32-bits wide. */
typedef u32 dma_addr_t;
+
+typedef unsigned long phys_addr_t;
+typedef unsigned long phys_size_t;
#endif /* __KERNEL__ */
#endif /* __ASM_NIOS2_TYPES_H */