Commit cf174b0e authored by SeongJae Park's avatar SeongJae Park Committed by Greg Kroah-Hartman

staging: csr: csr_framework_ext_types.h: fix coding style

Fix coding style of csr_framework_ext_types.h
    
Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f38ea7d
...@@ -24,14 +24,12 @@ extern "C" { ...@@ -24,14 +24,12 @@ extern "C" {
#ifdef __KERNEL__ #ifdef __KERNEL__
struct CsrThread struct CsrThread {
{
struct task_struct *thread_task; struct task_struct *thread_task;
char name[16]; char name[16];
}; };
struct CsrEvent struct CsrEvent {
{
/* wait_queue for waking the kernel thread */ /* wait_queue for waking the kernel thread */
wait_queue_head_t wakeup_q; wait_queue_head_t wakeup_q;
unsigned int wakeup_flag; unsigned int wakeup_flag;
...@@ -43,8 +41,7 @@ typedef struct CsrThread CsrThreadHandle; ...@@ -43,8 +41,7 @@ typedef struct CsrThread CsrThreadHandle;
#else /* __KERNEL __ */ #else /* __KERNEL __ */
struct CsrEvent struct CsrEvent {
{
pthread_cond_t event; pthread_cond_t event;
pthread_mutex_t mutex; pthread_mutex_t mutex;
u32 eventBits; u32 eventBits;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment