staging: wilc1000: fix build error for openrisc-allmodconfig
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 30 Sep 2015 08:52:14 +0000 (17:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Sep 2015 10:19:32 +0000 (12:19 +0200)
The kbuild test robot reports the following build error for
openrisc-allmodconfig.

>> drivers/staging/wilc1000/wilc_sdio.c:584:2: error: implicit
>> declaration of function 'memset'

The error occurs due to missing a standard header file as
<linux/string.h> so that three .c files are included it.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_sdio.c
drivers/staging/wilc1000/wilc_spi.c
drivers/staging/wilc1000/wilc_wlan_cfg.c

index 6da65e88c3452e4367de31ab2bb39a95627886c7..6e28ca08288b3746b8ee5a0b0b79eb9aeb2c85ff 100644 (file)
@@ -7,6 +7,7 @@
 /*  */
 /* //////////////////////////////////////////////////////////////////////////// */
 
+#include <linux/string.h>
 #include "wilc_wlan_if.h"
 #include "wilc_wlan.h"
 
index f7627701fb35b46659de28611e245059a59c52a5..0e06fc204c817523b8d4eb5b2dc1d8ebfe2a66d7 100644 (file)
@@ -7,6 +7,7 @@
 /*  */
 /* //////////////////////////////////////////////////////////////////////////// */
 
+#include <linux/string.h>
 #include "wilc_wlan_if.h"
 #include "wilc_wlan.h"
 
index 73a15082ac3f9a3d8300ba1218ee43d42aed2879..d761a372eeea20c8cd69d07ed08347e49d3fc4b4 100644 (file)
@@ -7,6 +7,7 @@
 /*  */
 /* ///////////////////////////////////////////////////////////////////////// */
 
+#include <linux/string.h>
 #include "wilc_wlan_if.h"
 #include "wilc_wlan.h"
 #include "wilc_wlan_cfg.h"
This page took 0.034667 seconds and 5 git commands to generate.