diff options
author | Scott James Remnant <scott@canonical.com> | 2009-04-06 16:33:11 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 21:36:31 (GMT) |
commit | 5350d3ba3d4cee899fa0b95fc0d30202ac8073e7 (patch) | |
tree | e43298af6812bb2447ec290916d0a29aed8d948c /drivers/char/specialix.c | |
parent | 9f56fad741163fe2111cbbcfb7ff795ebdabdab1 (diff) | |
download | linux-fsl-qoriq-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/specialix.c b/drivers/char/specialix.c index 3c67c3d..e72be41 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); |