rtl8188eu: Convert typedef for _sema and _pwrlock to struct semaphore

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-24 14:17:51 -05:00
parent 73f9c27ffd
commit 5f133c3764
10 changed files with 23 additions and 30 deletions

View file

@ -46,14 +46,12 @@ struct cmd_obj {
u32 cmdsz;
u8 *rsp;
u32 rspsz;
//_sema cmd_sem;
_list list;
};
struct cmd_priv {
_sema cmd_queue_sema;
//_sema cmd_done_sema;
_sema terminate_cmdthread_sema;
struct semaphore cmd_queue_sema;
struct semaphore terminate_cmdthread_sema;
_queue cmd_queue;
u8 cmd_seq;
u8 *cmd_buf; //shall be non-paged, and 4 bytes aligned