staging: wilc1000: hif_sema_driver can be static
authorkbuild test robot <lkp@intel.com>
Thu, 15 Oct 2015 06:07:41 +0000 (14:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 04:38:50 +0000 (21:38 -0700)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index e3bfad0146dc8e748124a42be48cfc8533879cf2..3e728b6bee506f7ad933f089b2dc04b8f65c2867 100644 (file)
@@ -236,7 +236,7 @@ u8 P2P_LISTEN_STATE;
 static struct task_struct *hif_thread_handler;
 static WILC_MsgQueueHandle hif_msg_q;
 static struct semaphore hif_sema_thread;
-struct semaphore hif_sema_driver;
+static struct semaphore hif_sema_driver;
 static struct semaphore hWaitResponse;
 struct semaphore hSemHostIntDeinit;
 struct timer_list g_hPeriodicRSSI;