diff options
author | Ludek Hlavacek <ludek_h@seznam.cz> | 2015-05-26 18:37:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 21:29:50 -0400 |
commit | 0dcacd768ea6fc5bdd7302d43d430b92e047c134 (patch) | |
tree | 53c9b09a3305b5cf850dc7bd93b0888ddb4d2428 /drivers/w1 | |
parent | fdd2db290d9bdfe11c6ee408f8727f1211f720d5 (diff) |
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 <ludek_h@seznam.cz>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/masters/ds2482.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c index e76a9b39abb2..a674409edfb3 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[] = { | |||
93 | { "ds2482", 0 }, | 93 | { "ds2482", 0 }, |
94 | { } | 94 | { } |
95 | }; | 95 | }; |
96 | MODULE_DEVICE_TABLE(i2c, ds2482_id); | ||
96 | 97 | ||
97 | static struct i2c_driver ds2482_driver = { | 98 | static struct i2c_driver ds2482_driver = { |
98 | .driver = { | 99 | .driver = { |