mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
kernel: package industrialio-buffer-cb driver
It is needed for the stm32/stm32mp1 subtarget.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/16716
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit b0adf5e0fd
)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
2f99171de3
commit
27afd9e1ca
@ -63,6 +63,21 @@ endef
|
|||||||
$(eval $(call KernelPackage,industrialio-hw-consumer))
|
$(eval $(call KernelPackage,industrialio-hw-consumer))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/industrialio-buffer-cb
|
||||||
|
TITLE:=Provides callback buffer used for push in-kernel interfaces
|
||||||
|
KCONFIG:=CONFIG_IIO_BUFFER_CB
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/iio/buffer/industrialio-buffer-cb.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,55,industrialio-triggered-buffer-cb)
|
||||||
|
$(call AddDepends/iio)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/industrialio-buffer-cb/description
|
||||||
|
Should be selected by any drivers that do in-kernel push usage.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,industrialio-buffer-cb))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/industrialio-triggered-buffer
|
define KernelPackage/industrialio-triggered-buffer
|
||||||
TITLE:=Provides helper functions for setting up triggered buffers.
|
TITLE:=Provides helper functions for setting up triggered buffers.
|
||||||
DEPENDS:=+kmod-iio-kfifo-buf
|
DEPENDS:=+kmod-iio-kfifo-buf
|
||||||
|
Loading…
Reference in New Issue
Block a user