summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/mxc4005.c
diff options
context:
space:
mode:
authorChristian Oder <me@myself5.de>2020-05-29 23:05:49 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-06-14 13:49:39 +0300
commit79846e33aac15f1a1451bcf424b7a1cc22440a88 (patch)
tree7cde87d833cc6bdd1311c2e88e7b50081abaa536 /drivers/iio/accel/mxc4005.c
parentc2c878097b06a481335e322bbb01e2da43e58881 (diff)
downloadlinux-79846e33aac15f1a1451bcf424b7a1cc22440a88.tar.xz
iio: accel: mxc4005: add support for mxc6655
The mxc6655 is fully working with the existing mxc4005 driver. Add support for it. Signed-off-by: Christian Oder <me@myself5.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/mxc4005.c')
-rw-r--r--drivers/iio/accel/mxc4005.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/accel/mxc4005.c b/drivers/iio/accel/mxc4005.c
index 9d07642c0de1..d2950831dd24 100644
--- a/drivers/iio/accel/mxc4005.c
+++ b/drivers/iio/accel/mxc4005.c
@@ -474,12 +474,14 @@ static int mxc4005_probe(struct i2c_client *client,
static const struct acpi_device_id mxc4005_acpi_match[] = {
{"MXC4005", 0},
+ {"MXC6655", 0},
{ },
};
MODULE_DEVICE_TABLE(acpi, mxc4005_acpi_match);
static const struct i2c_device_id mxc4005_id[] = {
{"mxc4005", 0},
+ {"mxc6655", 0},
{ },
};
MODULE_DEVICE_TABLE(i2c, mxc4005_id);