utils: rename struct mem_region_t to struct mem_region
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Jan 2018 14:15:38 +0000 (23:15 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Jan 2018 14:27:00 +0000 (23:27 +0900)
typedef mem_region_t mem_region_t;

... seems to work because they belong to different name-spaces,
but humans are confused even if compilers are not.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/lib/utils.h

index cfc830220498c402280e63bc529bcad344ca9255..3d215c321033be50855ffea30fed141b3c68bdf4 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <types.h>
 
-typedef struct mem_region_t {
+typedef struct mem_region {
        uintptr_t base;
        size_t nbytes;
 } mem_region_t;