aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/other.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-19 21:09:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-19 21:09:11 +0000
commit20ba5a01cfa46a3c56dc26b57f2f922afba61a4b (patch)
tree6406ac2368eded08fa0ec54d5ea7a74a4124f6e5 /package/kernel/linux/modules/other.mk
parent000295f8baf25bed023c651bf48409c5ac4b7724 (diff)
downloadupstream-20ba5a01cfa46a3c56dc26b57f2f922afba61a4b.tar.gz
upstream-20ba5a01cfa46a3c56dc26b57f2f922afba61a4b.tar.bz2
upstream-20ba5a01cfa46a3c56dc26b57f2f922afba61a4b.zip
kernel: modularize dma shared buffer code to eliminate kernel bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48371
Diffstat (limited to 'package/kernel/linux/modules/other.mk')
-rw-r--r--package/kernel/linux/modules/other.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 62fdc3cd69..b244fbe538 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -130,6 +130,16 @@ endef
$(eval $(call KernelPackage,bluetooth-hci-h4p))
+define KernelPackage/dma-buf
+ TITLE:=DMA shared buffer support
+ HIDDEN:=1
+ KCONFIG:=CONFIG_DMA_SHARED_BUFFER
+ FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko
+ AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer)
+endef
+$(eval $(call KernelPackage,dma-buf))
+
+
define KernelPackage/eeprom-93cx6
SUBMENU:=$(OTHER_MENU)
TITLE:=EEPROM 93CX6 support