ath6kl: include vmalloc.h in debug.c
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 3 Oct 2011 10:44:40 +0000 (13:44 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 3 Oct 2011 10:52:46 +0000 (13:52 +0300)
Fixes compilation errors when compiling for ARM:

ath6kl/debug.c:312: error: implicit declaration of function 'vmalloc'
ath6kl/debug.c:312: warning: assignment makes pointer from integer without a cast
ath6kl/debug.c:342: error: implicit declaration of function 'vfree'
ath6kl/debug.c:696: warning: assignment makes pointer from integer without a cast
ath6kl/debug.c:871: warning: assignment makes pointer from integer without a cast

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/debug.c

index 5237369..ba3f23d 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <linux/circ_buf.h>
 #include <linux/fs.h>
+#include <linux/vmalloc.h>
 
 #include "debug.h"
 #include "target.h"