提交 56203188 编写于 作者: H Hans de Goede 提交者: Jonathan Cameron

iio: accel: mma7660: fix missing MODULE_DEVICE_TABLE(i2c)

Add missing MODULE_DEVICE_TABLE(i2c) this fixes autoloading on
devicetree using systems.
Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 a8886770
...@@ -251,6 +251,7 @@ static const struct i2c_device_id mma7660_i2c_id[] = { ...@@ -251,6 +251,7 @@ static const struct i2c_device_id mma7660_i2c_id[] = {
{"mma7660", 0}, {"mma7660", 0},
{} {}
}; };
MODULE_DEVICE_TABLE(i2c, mma7660_i2c_id);
static const struct acpi_device_id mma7660_acpi_id[] = { static const struct acpi_device_id mma7660_acpi_id[] = {
{"MMA7660", 0}, {"MMA7660", 0},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册