diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-09-30 08:52:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-30 10:19:32 (GMT) |
commit | 0c9fc33cec319d8df632ac107bdba77a9b44bb37 (patch) | |
tree | dd11100ffa9aacee6628280bed8e3af61895bd16 | |
parent | 7477929566b65f692b79974b784ee59e8b2b9f18 (diff) | |
download | linux-0c9fc33cec319d8df632ac107bdba77a9b44bb37.tar.xz |
staging: wilc1000: fix build error for openrisc-allmodconfig
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>
-rw-r--r-- | drivers/staging/wilc1000/wilc_sdio.c | 1 | ||||
-rw-r--r-- | drivers/staging/wilc1000/wilc_spi.c | 1 | ||||
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan_cfg.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index 6da65e8..6e28ca0 100644 --- a/drivers/staging/wilc1000/wilc_sdio.c +++ b/drivers/staging/wilc1000/wilc_sdio.c @@ -7,6 +7,7 @@ /* */ /* //////////////////////////////////////////////////////////////////////////// */ +#include <linux/string.h> #include "wilc_wlan_if.h" #include "wilc_wlan.h" diff --git a/drivers/staging/wilc1000/wilc_spi.c b/drivers/staging/wilc1000/wilc_spi.c index f762770..0e06fc2 100644 --- a/drivers/staging/wilc1000/wilc_spi.c +++ b/drivers/staging/wilc1000/wilc_spi.c @@ -7,6 +7,7 @@ /* */ /* //////////////////////////////////////////////////////////////////////////// */ +#include <linux/string.h> #include "wilc_wlan_if.h" #include "wilc_wlan.h" diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.c b/drivers/staging/wilc1000/wilc_wlan_cfg.c index 73a1508..d761a37 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -7,6 +7,7 @@ /* */ /* ///////////////////////////////////////////////////////////////////////// */ +#include <linux/string.h> #include "wilc_wlan_if.h" #include "wilc_wlan.h" #include "wilc_wlan_cfg.h" |