diff options
author | Alexander Stein <alexander.stein@informatik.tu-chemnitz.de> | 2013-05-26 20:06:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-03 14:09:14 -0700 |
commit | 8d7bda51888d14c07cbebacc5a10be776477bb63 (patch) | |
tree | d127eacb0e8961bbafb5bb2b02e0c2c4b008a78e /drivers/w1/slaves/w1_ds28e04.c | |
parent | a4b05d1262c1f79ff07e9baceccbf3398846b8c0 (diff) | |
download | linux-8d7bda51888d14c07cbebacc5a10be776477bb63.tar.bz2 |
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_ds28e04.c')
-rw-r--r-- | drivers/w1/slaves/w1_ds28e04.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/slaves/w1_ds28e04.c b/drivers/w1/slaves/w1_ds28e04.c index 98117db595bb..cd30a6d95ea5 100644 --- a/drivers/w1/slaves/w1_ds28e04.c +++ b/drivers/w1/slaves/w1_ds28e04.c @@ -27,6 +27,7 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Markus Franke <franke.m@sebakmt.com>, <franm@hrz.tu-chemnitz.de>"); MODULE_DESCRIPTION("w1 family 1C driver for DS28E04, 4kb EEPROM and PIO"); +MODULE_ALIAS("w1-family-" __stringify(W1_FAMILY_DS28E04)); /* Allow the strong pullup to be disabled, but default to enabled. * If it was disabled a parasite powered device might not get the required |