]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: bmi270_i2c: Add MODULE_DEVICE_TABLE for BMI260/270
authorDerek J. Clark <derekjohn.clark@gmail.com>
Tue, 6 Jan 2026 05:45:19 +0000 (05:45 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 11 Jan 2026 13:02:19 +0000 (13:02 +0000)
commitf69b5ac682dbc61e6aca806c22ce2ae74d598e45
tree469125c73089bdfc952abe6b08d8ce75e67d6421
parentc84cde33b00451c7380482d19feef67d04deae7d
iio: bmi270_i2c: Add MODULE_DEVICE_TABLE for BMI260/270

Currently BMI260 & BMI270 devices do not automatically load this
driver. To fix this, add missing MODULE_DEVICE_TABLE for the i2c,
acpi, and of device tables so the driver will load when the hardware
is detected.

Tested on my OneXPlayer F1 Pro.

Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/bmi270/bmi270_i2c.c