kernel: kmod-iio-sps30: Add I2C driver
The sps30.ko driver was split into a main sps30.ko driver and a sps30_i2c.ko driver for the I2C interface with kernel 5.14. Add the sps30_i2c.ko module to the package too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
		| @@ -431,9 +431,13 @@ define KernelPackage/iio-sps30 | |||||||
|   SUBMENU:=$(IIO_MENU) |   SUBMENU:=$(IIO_MENU) | ||||||
|   DEPENDS:=+kmod-i2c-core +kmod-iio-core +kmod-industrialio-triggered-buffer +kmod-lib-crc8 |   DEPENDS:=+kmod-i2c-core +kmod-iio-core +kmod-industrialio-triggered-buffer +kmod-lib-crc8 | ||||||
|   TITLE:=Sensirion SPS30 particulate matter sensor |   TITLE:=Sensirion SPS30 particulate matter sensor | ||||||
|   KCONFIG:=CONFIG_SPS30 |   KCONFIG:= \ | ||||||
|   FILES:=$(LINUX_DIR)/drivers/iio/chemical/sps30.ko | 	CONFIG_SPS30 \ | ||||||
|   AUTOLOAD:=$(call AutoProbe,sps30) | 	CONFIG_SPS30_I2C | ||||||
|  |   FILES:= \ | ||||||
|  | 	$(LINUX_DIR)/drivers/iio/chemical/sps30.ko \ | ||||||
|  | 	$(LINUX_DIR)/drivers/iio/chemical/sps30_i2c.ko@ge5.14 | ||||||
|  |   AUTOLOAD:=$(call AutoProbe,sps30 sps30_i2c) | ||||||
| endef | endef | ||||||
|  |  | ||||||
| define KernelPackage/iio-sps30/description | define KernelPackage/iio-sps30/description | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Hauke Mehrtens
					Hauke Mehrtens