Skip to content

Commit

Permalink
iio: accel: mma7660: fix missing MODULE_DEVICE_TABLE(i2c)
Browse files Browse the repository at this point in the history
Add missing MODULE_DEVICE_TABLE(i2c) this fixes autoloading on
devicetree using systems.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Hans de Goede authored and Jonathan Cameron committed Sep 18, 2016
1 parent a888677 commit 5620318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iio/accel/mma7660.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ static const struct i2c_device_id mma7660_i2c_id[] = {
{"mma7660", 0},
{}
};
MODULE_DEVICE_TABLE(i2c, mma7660_i2c_id);

static const struct acpi_device_id mma7660_acpi_id[] = {
{"MMA7660", 0},
Expand Down

0 comments on commit 5620318

Please sign in to comment.