projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd2db2
)
w1: ds2482: Add i2c module alias name
author
Ludek Hlavacek
<ludek_h@seznam.cz>
Tue, 26 May 2015 22:37:59 +0000
(
00:37
+0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 1 Jun 2015 01:29:50 +0000
(10:29 +0900)
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>
drivers/w1/masters/ds2482.c
patch
|
blob
|
history
diff --git
a/drivers/w1/masters/ds2482.c
b/drivers/w1/masters/ds2482.c
index
e76a9b3
..
a674409
100644
(file)
--- 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 = {