aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2019-04-30 17:58:42 +0200
committerRafał Miłecki <rafal@milecki.pl>2019-05-02 09:35:35 +0200
commita9190ee3a41e49e085ab7ad520b757313c2bdf31 (patch)
tree5059ba2afb5957cd303012219e0ca4ef55bdb570 /package/kernel/linux
parentd6643aca34cb2f425ea7c5d7a725c97166b3363d (diff)
downloadupstream-a9190ee3a41e49e085ab7ad520b757313c2bdf31.tar.gz
upstream-a9190ee3a41e49e085ab7ad520b757313c2bdf31.tar.bz2
upstream-a9190ee3a41e49e085ab7ad520b757313c2bdf31.zip
kernel: iio: Fix BMP280 Auto probing
Currently Auto probing for BMP/BME280 does not work because kernel module name in the call is not correct. Package name was used instead of kernel module name. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/iio.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk
index 44a4806b34..639dc054f3 100644
--- a/package/kernel/linux/modules/iio.mk
+++ b/package/kernel/linux/modules/iio.mk
@@ -152,7 +152,7 @@ define KernelPackage/iio-bmp280-i2c
DEPENDS:=+kmod-iio-bmp280 +kmod-i2c-core +kmod-regmap-i2c
KCONFIG:=CONFIG_BMP280_I2C
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280-i2c.ko
- AUTOLOAD:=$(call AutoProbe,iio-bmp280-i2c)
+ AUTOLOAD:=$(call AutoProbe,bmp280-i2c)
endef
define KernelPackage/iio-bmp280-i2c/description
This driver adds support for Bosch Sensortec's digital pressure and
@@ -168,7 +168,7 @@ define KernelPackage/iio-bmp280-spi
DEPENDS:=+kmod-iio-bmp280 +kmod-spi-bitbang
KCONFIG:=CONFIG_BMP280_SPI
FILES:=$(LINUX_DIR)/drivers/iio/pressure/bmp280-spi.ko
- AUTOLOAD:=$(call AutoProbe,iio-bmp280-spi)
+ AUTOLOAD:=$(call AutoProbe,bmp280-spi)
endef
define KernelPackage/iio-bmp280-spi/description
This driver adds support for Bosch Sensortec's digital pressure and