staging: wilc1000: remove wilc_platform.h include file
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 23 Sep 2015 09:03:46 +0000 (18:03 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:38:30 +0000 (02:38 +0200)
This patch removes wilc_platform.h include file that is defined in
wilc_msgqueue.h file. After removing it, compilation error occurs so
that it is included two header files as <linux/semaphore.h> and
<linux/slab.h> at wilc_msgqueue.h and wilc_msgqueue.c

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_msgqueue.c
drivers/staging/wilc1000/wilc_msgqueue.h

index 869736aab44da000014fb9137b55c1464320e670..d5ebd6d08db771223a5f2702d9a4b9130ff6abcc 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/spinlock.h>
 #include "linux_wlan_common.h"
 #include <linux/errno.h>
+#include <linux/slab.h>
 
 /*!
  *  @author            syounan
index 982628e570a3962b1a2b6066d5da3c38a1402ff8..d231c334ed93316063cdecb86c3720545e798505 100644 (file)
@@ -10,7 +10,7 @@
  *  @version   1.0
  */
 
-#include "wilc_platform.h"
+#include <linux/semaphore.h>
 
 /* Message Queue type is a structure */
 typedef struct __Message_struct {