提交 af690ce9 编写于 作者: M Marek Belisko 提交者: Jonathan Cameron

staging: iio: hmc5843: Add all available models to device tree id table.

Signed-off-by: NMarek Belisko <marek@goldelico.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 87a46909
...@@ -630,7 +630,9 @@ static const struct i2c_device_id hmc5843_id[] = { ...@@ -630,7 +630,9 @@ static const struct i2c_device_id hmc5843_id[] = {
MODULE_DEVICE_TABLE(i2c, hmc5843_id); MODULE_DEVICE_TABLE(i2c, hmc5843_id);
static const struct of_device_id hmc5843_of_match[] = { static const struct of_device_id hmc5843_of_match[] = {
{ .compatible = "honeywell,hmc5843" }, { .compatible = "honeywell,hmc5843", .data = (void *)HMC5843_ID },
{ .compatible = "honeywell,hmc5883", .data = (void *)HMC5883_ID },
{ .compatible = "honeywell,hmc5883l", .data = (void *)HMC5883L_ID },
{} {}
}; };
MODULE_DEVICE_TABLE(of, hmc5843_of_match); MODULE_DEVICE_TABLE(of, hmc5843_of_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册