summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2011-02-20 11:35:48 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-02-23 22:25:30 +0100
commit4c0f13f3e7b8c6cbdaddc04579d05ea2bf1145a8 (patch)
treecd0dd8c5c67333b11d98b361992dcaf2daf3b398
parentrtlwifi: Fix build when RTL8192CU is selected, but RTL8192CE is not (diff)
downloadlinux-4c0f13f3e7b8c6cbdaddc04579d05ea2bf1145a8.tar.xz
linux-4c0f13f3e7b8c6cbdaddc04579d05ea2bf1145a8.zip
rtl8192cu: fix build error (vmalloc/vfree undefined)
On the ARM system, a build fails due to missing include. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192cu/sw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
index 4e937e0da8e2..62604cbd75e8 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
@@ -40,7 +40,7 @@
#include "trx.h"
#include "led.h"
#include "hw.h"
-
+#include <linux/vmalloc.h>
MODULE_AUTHOR("Georgia <georgia@realtek.com>");
MODULE_AUTHOR("Ziv Huang <ziv_huang@realtek.com>");