carl9170: fix debugfs support
SVN-Revision: 19067
This commit is contained in:
parent
6142c52634
commit
e5b704d350
2 changed files with 16 additions and 2 deletions
|
@ -43,7 +43,10 @@ define Build/Prepare
|
||||||
$(Build/Patch)
|
$(Build/Patch)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
BUILDFLAGS= \
|
BUILDFLAGS = \
|
||||||
|
CONFIG_MAC80211_DEBUGFS=$(CONFIG_PACKAGE_MAC80211_DEBUGFS)
|
||||||
|
|
||||||
|
EXTRA_CFLAGS = \
|
||||||
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD)
|
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
@ -51,7 +54,8 @@ define Build/Compile
|
||||||
SUBDIRS="$(DRV_PATH)" \
|
SUBDIRS="$(DRV_PATH)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
||||||
CC="$(TARGET_CC) -I$(STAGING_DIR)/usr/include/mac80211 $(BUILDFLAGS)"
|
CC="$(TARGET_CC) -I$(STAGING_DIR)/usr/include/mac80211 $(EXTRA_CFLAGS)" \
|
||||||
|
$(BUILDFLAGS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/carl9170/install
|
define KernelPackage/carl9170/install
|
||||||
|
|
10
package/carl9170/patches/120-fix_missing_include.patch
Normal file
10
package/carl9170/patches/120-fix_missing_include.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- a/drivers/net/wireless/ath/carl9170/debug.c
|
||||||
|
+++ b/drivers/net/wireless/ath/carl9170/debug.c
|
||||||
|
@@ -38,6 +38,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <linux/seq_file.h>
|
||||||
|
+#include <linux/vmalloc.h>
|
||||||
|
#include "carl9170.h"
|
||||||
|
#include "usb.h"
|
||||||
|
#include "cmd.h"
|
Loading…
Reference in a new issue