diff options
author | Hans de Goede | 2016-09-11 18:29:26 +0200 |
---|---|---|
committer | Jonathan Cameron | 2016-09-18 12:54:09 +0100 |
commit | 5620318828dce80748c0a8e5fa2775957cf28347 (patch) | |
tree | b4d66e1e9c214b789ee1a8b90b441b98d2b361b4 /drivers/iio/accel | |
parent | a8886770dcf27082fe0fa64592e0054d02cea90d (diff) |
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: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r-- | drivers/iio/accel/mma7660.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/mma7660.c b/drivers/iio/accel/mma7660.c index 0acdee516973..03beadf14ad3 100644 --- a/drivers/iio/accel/mma7660.c +++ b/drivers/iio/accel/mma7660.c @@ -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}, |