diff options
author | Scott James Remnant <scott@canonical.com> | 2009-04-06 12:33:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 17:36:31 -0400 |
commit | e766aeb882b41355d8732cf49aa9412baef852c5 (patch) | |
tree | 5cebecbccd20d76ed59508b9dbe4682fa827adbd /drivers/usb | |
parent | 5350d3ba3d4cee899fa0b95fc0d30202ac8073e7 (diff) |
usb: Auto-load cdc_acm module when device opened.
The cdc_acm module is missing the char-major-166-* alias that would
cause it to be auto-loaded when a device of that type is opened. This
patch adds the alias.
Signed-off-by: Scott James Remnant <scott@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index b3d5a23ab56f..85f22c6da567 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
@@ -1493,4 +1493,4 @@ module_exit(acm_exit); | |||
1493 | MODULE_AUTHOR( DRIVER_AUTHOR ); | 1493 | MODULE_AUTHOR( DRIVER_AUTHOR ); |
1494 | MODULE_DESCRIPTION( DRIVER_DESC ); | 1494 | MODULE_DESCRIPTION( DRIVER_DESC ); |
1495 | MODULE_LICENSE("GPL"); | 1495 | MODULE_LICENSE("GPL"); |
1496 | 1496 | MODULE_ALIAS_CHARDEV_MAJOR(ACM_TTY_MAJOR); | |