[PATCH 1/2] iio: mma8452: add i2c_device_id for mma8451

From: Martin Kepplinger
Date: Mon Mar 14 2016 - 07:35:20 EST


This was forgotten about and is added for consistency now

Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
---
I'm sorry, I messed up the first patch. Understandable though, given
it's complexity.


drivers/iio/accel/mma8452.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
index 305ed0e..6aa2517 100644
--- a/drivers/iio/accel/mma8452.c
+++ b/drivers/iio/accel/mma8452.c
@@ -1535,6 +1535,7 @@ static const struct dev_pm_ops mma8452_pm_ops = {
};

static const struct i2c_device_id mma8452_id[] = {
+ { "mma8451", mma8451 },
{ "mma8452", mma8452 },
{ "mma8453", mma8453 },
{ "mma8652", mma8652 },
--
2.1.4