summaryrefslogtreecommitdiffstats
path: root/drivers/char/applicom.c
diff options
context:
space:
mode:
authorScott James Remnant <scott@canonical.com>2009-04-06 17:32:58 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-06 14:36:30 -0700
commit14f8d3ff3141caa8bf8326381ab8e6ce06c564b8 (patch)
treec558cad9cb2b203b5d3ecfb6e49cffca53bdeb84 /drivers/char/applicom.c
parentf4487101c7c5e529777b297eda5a5b69347f51a0 (diff)
downloadlinux-14f8d3ff3141caa8bf8326381ab8e6ce06c564b8.tar.bz2
applicom: Auto-load applicom module when device opened.
The applicom module is missing the char-major-10-157 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/char/applicom.c')
-rw-r--r--drivers/char/applicom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/applicom.c b/drivers/char/applicom.c
index 05674febb0c6..73a0765344b6 100644
--- a/drivers/char/applicom.c
+++ b/drivers/char/applicom.c
@@ -75,6 +75,7 @@ MODULE_DEVICE_TABLE(pci, applicom_pci_tbl);
MODULE_AUTHOR("David Woodhouse & Applicom International");
MODULE_DESCRIPTION("Driver for Applicom Profibus card");
MODULE_LICENSE("GPL");
+MODULE_ALIAS_MISCDEV(AC_MINOR);
MODULE_SUPPORTED_DEVICE("ac");