Commit 0dcacd76 authored by Ludek Hlavacek's avatar Ludek Hlavacek Committed by Greg Kroah-Hartman

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: default avatarLudek Hlavacek <ludek_h@seznam.cz>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fdd2db29
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment