From c227f0995e1722a1abccc28cadf0664266bd8043 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 1 Oct 2009 16:12:16 -0500 Subject: Revert "Get rid of _t suffix" In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori --- hw/tc58128.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/tc58128.c') diff --git a/hw/tc58128.c b/hw/tc58128.c index 92adca4..264aa02 100644 --- a/hw/tc58128.c +++ b/hw/tc58128.c @@ -13,11 +13,11 @@ #define RDY2 0x8000 #define RDY(n) ((n) == 0 ? RDY1 : RDY2) -typedef enum { WAIT, READ1, READ2, READ3 } e_state; +typedef enum { WAIT, READ1, READ2, READ3 } state_t; typedef struct { uint8_t *flash_contents; - e_state state; + state_t state; uint32_t address; uint8_t address_cycle; } tc58128_dev; -- cgit v1.1