diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ti_wilink_st.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ti_wilink_st.h b/include/linux/ti_wilink_st.h index 010cda7287a0..7885a779c588 100644 --- a/include/linux/ti_wilink_st.h +++ b/include/linux/ti_wilink_st.h | |||
@@ -166,6 +166,11 @@ struct st_data_s { | |||
166 | void *kim_data; | 166 | void *kim_data; |
167 | }; | 167 | }; |
168 | 168 | ||
169 | /* | ||
170 | * wrapper around tty->ops->write_room to check | ||
171 | * availability during firmware download | ||
172 | */ | ||
173 | int st_get_uart_wr_room(struct st_data_s *st_gdata); | ||
169 | /** | 174 | /** |
170 | * st_int_write - | 175 | * st_int_write - |
171 | * point this to tty->driver->write or tty->ops->write | 176 | * point this to tty->driver->write or tty->ops->write |
@@ -208,6 +213,7 @@ void gps_chrdrv_stub_init(void); | |||
208 | */ | 213 | */ |
209 | #define LDISC_TIME 1000 | 214 | #define LDISC_TIME 1000 |
210 | #define CMD_RESP_TIME 800 | 215 | #define CMD_RESP_TIME 800 |
216 | #define CMD_WR_TIME 5000 | ||
211 | #define MAKEWORD(a, b) ((unsigned short)(((unsigned char)(a)) \ | 217 | #define MAKEWORD(a, b) ((unsigned short)(((unsigned char)(a)) \ |
212 | | ((unsigned short)((unsigned char)(b))) << 8)) | 218 | | ((unsigned short)((unsigned char)(b))) << 8)) |
213 | 219 | ||