Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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];
+1 −0
Original line number Original line Diff line number Diff line
@@ -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)
{
{
+1 −0
Original line number Original line Diff line number Diff line
@@ -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};
+1 −0
Original line number Original line Diff line number Diff line
@@ -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)
{
{
+1 −0
Original line number Original line Diff line number Diff line
@@ -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 };
Loading