projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a888677
)
iio: accel: mma7660: fix missing MODULE_DEVICE_TABLE(i2c)
author
Hans de Goede
<hdegoede@redhat.com>
Sun, 11 Sep 2016 16:29:26 +0000
(18:29 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 18 Sep 2016 11:54:09 +0000
(12:54 +0100)
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>
drivers/iio/accel/mma7660.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/accel/mma7660.c
b/drivers/iio/accel/mma7660.c
index 0acdee516973eec4e9917294ac88d75f21d7989e..03beadf14ad31bb29d106c09e412a6e706cbadc4 100644
(file)
--- 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},