summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-09-11 19:29:26 +0300
committerJonathan Cameron <jic23@kernel.org>2016-09-18 14:54:09 +0300
commit5620318828dce80748c0a8e5fa2775957cf28347 (patch)
treeb4d66e1e9c214b789ee1a8b90b441b98d2b361b4 /drivers/iio
parenta8886770dcf27082fe0fa64592e0054d02cea90d (diff)
downloadlinux-5620318828dce80748c0a8e5fa2775957cf28347.tar.xz
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')
-rw-r--r--drivers/iio/accel/mma7660.c1
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},