summaryrefslogtreecommitdiffstats
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorScott James Remnant <scott@canonical.com>2009-04-06 18:33:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-06 23:36:31 +0200
commite766aeb882b41355d8732cf49aa9412baef852c5 (patch)
tree5cebecbccd20d76ed59508b9dbe4682fa827adbd /drivers/usb/class
parentspecialix: Auto-load specialix module when device opened. (diff)
downloadlinux-e766aeb882b41355d8732cf49aa9412baef852c5.tar.xz
linux-e766aeb882b41355d8732cf49aa9412baef852c5.zip
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/class')
-rw-r--r--drivers/usb/class/cdc-acm.c2
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);
MODULE_AUTHOR( DRIVER_AUTHOR );
MODULE_DESCRIPTION( DRIVER_DESC );
MODULE_LICENSE("GPL");
-
+MODULE_ALIAS_CHARDEV_MAJOR(ACM_TTY_MAJOR);