stm32x_mem_layout_t -> struct stm32x_mem_layout
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 15:39:03 +0000 (07:39 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:07 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct stm32x_mem_layout.

src/flash/stm32x.h

index 471b633..9e1e5b1 100644 (file)
@@ -93,9 +93,9 @@ struct stm32x_flash_bank
 #define KEY1                   0x45670123
 #define KEY2                   0xCDEF89AB
 
-typedef struct stm32x_mem_layout_s {
+struct stm32x_mem_layout {
        uint32_t sector_start;
        uint32_t sector_size;
-} stm32x_mem_layout_t;
+};
 
 #endif /* STM32X_H */