summaryrefslogtreecommitdiff
path: root/drivers/char/specialix.c
diff options
context:
space:
mode:
authorScott James Remnant <scott@canonical.com>2009-04-06 20:33:11 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 01:36:31 +0400
commit5350d3ba3d4cee899fa0b95fc0d30202ac8073e7 (patch)
treee43298af6812bb2447ec290916d0a29aed8d948c /drivers/char/specialix.c
parent9f56fad741163fe2111cbbcfb7ff795ebdabdab1 (diff)
downloadlinux-5350d3ba3d4cee899fa0b95fc0d30202ac8073e7.tar.xz
specialix: Auto-load specialix module when device opened.
The specialix module is missing the char-major-75-* 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/specialix.c')
-rw-r--r--drivers/char/specialix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/specialix.c b/drivers/char/specialix.c
index 3c67c3d83de9..e72be4190a44 100644
--- a/drivers/char/specialix.c
+++ b/drivers/char/specialix.c
@@ -2365,3 +2365,4 @@ module_init(specialix_init_module);
module_exit(specialix_exit_module);
MODULE_LICENSE("GPL");
+MODULE_ALIAS_CHARDEV_MAJOR(SPECIALIX_NORMAL_MAJOR);