diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-09-11 18:29:26 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-09-18 13:54:09 +0200 |
commit | 5620318828dce80748c0a8e5fa2775957cf28347 (patch) | |
tree | b4d66e1e9c214b789ee1a8b90b441b98d2b361b4 /drivers/iio | |
parent | staging: iio: ad5933: align arguments on new line with open parenthesis (diff) | |
download | linux-5620318828dce80748c0a8e5fa2775957cf28347.tar.xz linux-5620318828dce80748c0a8e5fa2775957cf28347.zip |
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.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}, |