On 11/09/16 17:29, Hans de Goede wrote: > Add missing MODULE_DEVICE_TABLE(i2c) this fixes autoloading on > devicetree using systems. > > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Applied to the togreg branch of iio.git. Initially pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/iio/accel/mma7660.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/accel/mma7660.c b/drivers/iio/accel/mma7660.c > index 0acdee5..03beadf 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}, > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html