summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/bmc150-accel-i2c.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-06-19 08:22:25 +0200
committerJonathan Cameron <jic23@kernel.org>2017-07-01 11:16:37 +0200
commit1911f48de0d90b30a424906b7343b20dac90e3d9 (patch)
tree211cf85552141e1355cb33182b90b3b3cf533115 /drivers/iio/accel/bmc150-accel-i2c.c
parentstaging: lustre: replace kmalloc with kmalloc_array (diff)
downloadlinux-1911f48de0d90b30a424906b7343b20dac90e3d9.tar.xz
linux-1911f48de0d90b30a424906b7343b20dac90e3d9.zip
iio: accel: bmc150: Add support for BOSC0200 ACPI device id
Add support for the BOSC0200 ACPI device id used on some x86 tablets. note driver_data is not set to a specific model, driver_data is not used anyways (instead detection is done on the chip_id reg) and the 2 tablets with a BOSC0200 ACPI device id I've have 2 different chips, one has a BMA250E, the other a BMA222E. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/bmc150-accel-i2c.c')
-rw-r--r--drivers/iio/accel/bmc150-accel-i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/bmc150-accel-i2c.c b/drivers/iio/accel/bmc150-accel-i2c.c
index 8ca8041267ef..f85014fbaa12 100644
--- a/drivers/iio/accel/bmc150-accel-i2c.c
+++ b/drivers/iio/accel/bmc150-accel-i2c.c
@@ -64,6 +64,7 @@ static const struct acpi_device_id bmc150_accel_acpi_match[] = {
{"BMA250E", bma250e},
{"BMA222E", bma222e},
{"BMA0280", bma280},
+ {"BOSC0200"},
{ },
};
MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);