iio: magnetometer: bmc150: Add proper compatible for BMM150
The compatible for BMM150 should not have "_magn" suffix because, unlike two other Bosch devices, it is only a magnetometer. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
8cc41f3c80
commit
0954bc9787
|
@ -58,7 +58,8 @@ MODULE_DEVICE_TABLE(i2c, bmc150_magn_i2c_id);
|
||||||
static const struct of_device_id bmc150_magn_of_match[] = {
|
static const struct of_device_id bmc150_magn_of_match[] = {
|
||||||
{ .compatible = "bosch,bmc150_magn" },
|
{ .compatible = "bosch,bmc150_magn" },
|
||||||
{ .compatible = "bosch,bmc156_magn" },
|
{ .compatible = "bosch,bmc156_magn" },
|
||||||
{ .compatible = "bosch,bmm150_magn" },
|
{ .compatible = "bosch,bmm150_magn" }, /* deprecated compatible */
|
||||||
|
{ .compatible = "bosch,bmm150" },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, bmc150_magn_of_match);
|
MODULE_DEVICE_TABLE(of, bmc150_magn_of_match);
|
||||||
|
|
Loading…
Reference in New Issue