mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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>
This commit is contained in:
parent
fdd2db290d
commit
0dcacd768e
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user