Skip to content

Commit

Permalink
w1: ds2482: Add i2c module alias name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ludek Hlavacek authored and Greg Kroah-Hartman committed Jun 1, 2015
1 parent fdd2db2 commit 0dcacd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/w1/masters/ds2482.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 0dcacd7

Please sign in to comment.