ath6kl: include vmalloc.h in debug.c
PATCH 1/1 ath6kl: include vmalloc.h in debug.c
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
--- drivers/net/wireless/ath/ath6kl/debug.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath6kl/debug.c +1 -0
@@ -18,6 +18,7 @@#include <linux/circ_buf.h> #include <linux/fs.h> +#include <linux/vmalloc.h> #include "debug.h" #include "target.h"
Kalle Valo
AppliedQuoted 7 lines · Kalle Valo
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 castath6kl/debug.c:342: error: implicit declaration of function 'vfree'ath6kl/debug.c:696: warning: assignment makes pointer from integer without a castath6kl/debug.c:871: warning: assignment makes pointer from integer without a cast
Applied.
Kalle