summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorScott James Remnant <scott@canonical.com>2009-04-06 16:33:18 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-06 21:36:31 (GMT)
commite766aeb882b41355d8732cf49aa9412baef852c5 (patch)
tree5cebecbccd20d76ed59508b9dbe4682fa827adbd /drivers/usb
parent5350d3ba3d4cee899fa0b95fc0d30202ac8073e7 (diff)
downloadlinux-fsl-qoriq-e766aeb882b41355d8732cf49aa9412baef852c5.tar.xz
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.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 b3d5a23..85f22c6 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);