package: other.mk: update configuration for ad799x

The ad799x driver moved out of staging since kernel 3.16, so update filepath,
config elements and description.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 42524
lede-17.01
Hauke Mehrtens 2014-09-13 20:35:10 +00:00
parent 9a428dd8d5
commit a8e1a031a8
1 changed files with 5 additions and 1 deletions

View File

@ -242,14 +242,18 @@ define KernelPackage/iio-ad799x
KCONFIG:= \ KCONFIG:= \
CONFIG_AD799X_RING_BUFFER=y \ CONFIG_AD799X_RING_BUFFER=y \
CONFIG_AD799X CONFIG_AD799X
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.16.0)),1)
FILES:=$(LINUX_DIR)/drivers/iio/adc/ad799x.ko
else
FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/ad799x.ko FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/ad799x.ko
endif
AUTOLOAD:=$(call AutoLoad,56,ad799x) AUTOLOAD:=$(call AutoLoad,56,ad799x)
endef endef
define KernelPackage/iio-ad799x/description define KernelPackage/iio-ad799x/description
support for Analog Devices: support for Analog Devices:
ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998 ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998
i2c analog to digital converters (ADC). WARNING! This driver is still staging! i2c analog to digital converters (ADC).
endef endef
$(eval $(call KernelPackage,iio-ad799x)) $(eval $(call KernelPackage,iio-ad799x))