[PATCH v3 1/5] iio: pressure: ms5637: Add missing ms5803 I2C device ID

Louis Adamian <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
meas,ms5803 is in the OF match table with no corresponding entry in
ms5637_id.

Fixes: 649ef114a0a0 ("iio:pressure:ms5637: add ms5803 support")
Signed-off-by: Louis Adamian <[email protected]>
---
 drivers/iio/pressure/ms5637.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/pressure/ms5637.c b/drivers/iio/pressure/ms5637.c
index be8921644558..4f9f556bd123 100644
--- a/drivers/iio/pressure/ms5637.c
+++ b/drivers/iio/pressure/ms5637.c
@@ -215,6 +215,7 @@ static const struct ms_tp_data ms8607_data = {
 
 static const struct i2c_device_id ms5637_id[] = {
 	{ .name = "ms5637", .driver_data = (kernel_ulong_t)&ms5637_data },
+	{ .name = "ms5803", .driver_data = (kernel_ulong_t)&ms5803_data },
 	{ .name = "ms5805", .driver_data = (kernel_ulong_t)&ms5805_data },
 	{ .name = "ms5837", .driver_data = (kernel_ulong_t)&ms5837_data },
 	{ .name = "ms8607-temppressure", .driver_data = (kernel_ulong_t)&ms8607_data },
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.