Commit d249db9e authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman

staging: r8188eu: Fix missing header

Commit 2397c6e0 entitled "staging: r8188eu:
Remove wrappers around vmalloc and vzalloc" and
commit: 03bd6aea entitled "staging: r8188eu:
Remove wrappers around vfree" failed to add the header file needed
to provide vzalloc and vfree.

This problem was reported by the kbuild test robot.
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 38585ccc
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <wlan_bssdef.h> #include <wlan_bssdef.h>
#include <rtw_ioctl_set.h> #include <rtw_ioctl_set.h>
#include <usb_osintf.h> #include <usb_osintf.h>
#include <linux/vmalloc.h>
extern unsigned char MCS_rate_2R[16]; extern unsigned char MCS_rate_2R[16];
extern unsigned char MCS_rate_1R[16]; extern unsigned char MCS_rate_1R[16];
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "odm_precomp.h" #include "odm_precomp.h"
#include "rtl8188e_hal.h" #include "rtl8188e_hal.h"
#include <linux/vmalloc.h>
u32 read_macreg(struct adapter *padapter, u32 addr, u32 sz) u32 read_macreg(struct adapter *padapter, u32 addr, u32 sz)
{ {
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <ethernet.h> #include <ethernet.h>
#include <usb_ops.h> #include <usb_ops.h>
#include <wifi.h> #include <wifi.h>
#include <linux/vmalloc.h>
static u8 SNAP_ETH_TYPE_IPX[2] = {0x81, 0x37}; static u8 SNAP_ETH_TYPE_IPX[2] = {0x81, 0x37};
static u8 SNAP_ETH_TYPE_APPLETALK_AARP[2] = {0x80, 0xf3}; static u8 SNAP_ETH_TYPE_APPLETALK_AARP[2] = {0x80, 0xf3};
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <xmit_osdep.h> #include <xmit_osdep.h>
#include <mlme_osdep.h> #include <mlme_osdep.h>
#include <sta_info.h> #include <sta_info.h>
#include <linux/vmalloc.h>
static void _rtw_init_stainfo(struct sta_info *psta) static void _rtw_init_stainfo(struct sta_info *psta)
{ {
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <ip.h> #include <ip.h>
#include <usb_ops.h> #include <usb_ops.h>
#include <usb_osintf.h> #include <usb_osintf.h>
#include <linux/vmalloc.h>
static u8 P802_1H_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0xf8 }; static u8 P802_1H_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0xf8 };
static u8 RFC1042_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0x00 }; static u8 RFC1042_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0x00 };
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <rtw_mp.h> #include <rtw_mp.h>
#include <rtw_iol.h> #include <rtw_iol.h>
#include <linux/vmalloc.h>
#define RTL_IOCTL_WPA_SUPPLICANT (SIOCIWFIRSTPRIV + 30) #define RTL_IOCTL_WPA_SUPPLICANT (SIOCIWFIRSTPRIV + 30)
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <hal_intf.h> #include <hal_intf.h>
#include <rtw_version.h> #include <rtw_version.h>
#include <linux/usb.h> #include <linux/usb.h>
#include <linux/vmalloc.h>
#include <osdep_intf.h> #include <osdep_intf.h>
#include <usb_vendor_req.h> #include <usb_vendor_req.h>
......
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