summaryrefslogtreecommitdiff
path: root/drivers/w1/slaves/w1_ds2760.c
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>2013-05-26 22:06:50 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-04 01:09:14 +0400
commit8d7bda51888d14c07cbebacc5a10be776477bb63 (patch)
treed127eacb0e8961bbafb5bb2b02e0c2c4b008a78e /drivers/w1/slaves/w1_ds2760.c
parenta4b05d1262c1f79ff07e9baceccbf3398846b8c0 (diff)
downloadlinux-8d7bda51888d14c07cbebacc5a10be776477bb63.tar.xz
w1: add family based automatic module loading
This patch allows the 1-wire bus to autoload the corresponding module for each slave being attached. This works similar to bluetooth protocols. Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/slaves/w1_ds2760.c')
-rw-r--r--drivers/w1/slaves/w1_ds2760.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/slaves/w1_ds2760.c b/drivers/w1/slaves/w1_ds2760.c
index e86a69dc411e..93719d25d849 100644
--- a/drivers/w1/slaves/w1_ds2760.c
+++ b/drivers/w1/slaves/w1_ds2760.c
@@ -203,3 +203,4 @@ module_exit(w1_ds2760_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Szabolcs Gyurko <szabolcs.gyurko@tlt.hu>");
MODULE_DESCRIPTION("1-wire Driver Dallas 2760 battery monitor chip");
+MODULE_ALIAS("w1-family-" __stringify(W1_FAMILY_DS2760));