From 0dcacd768ea6fc5bdd7302d43d430b92e047c134 Mon Sep 17 00:00:00 2001 From: Ludek Hlavacek Date: Wed, 27 May 2015 00:37:59 +0200 Subject: w1: ds2482: Add i2c module alias name Add i2c alias to enable autoloading of the module for device specified in device-tree. Signed-off-by: Ludek Hlavacek Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c index e76a9b3..a674409 100644 --- a/drivers/w1/masters/ds2482.c +++ b/drivers/w1/masters/ds2482.c @@ -93,6 +93,7 @@ static const struct i2c_device_id ds2482_id[] = { { "ds2482", 0 }, { } }; +MODULE_DEVICE_TABLE(i2c, ds2482_id); static struct i2c_driver ds2482_driver = { .driver = { -- cgit v0.10.2