提交 2b321d69 编写于 作者: J Juan Quintela 提交者: Blue Swirl

Use proper typedef syntax

Why this ever compiled is a mistery to me.
Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 3f600fa0
......@@ -98,13 +98,13 @@
#define RECV_FIFO 1
#define MAX_XMIT_RETRY 4
struct SerialFIFO {
typedef struct SerialFIFO {
uint8_t data[UART_FIFO_LENGTH];
uint8_t count;
uint8_t itl; /* Interrupt Trigger Level */
uint8_t tail;
uint8_t head;
} typedef SerialFIFO;
} SerialFIFO;
struct SerialState {
uint16_t divider;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册