projects/linux·commit 5350d3ba

specialix: Auto-load specialix module when device opened.

5350d3ba · Scott James Remnant <[email protected]> · 2009-04-06 17:33:11 +01:00

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 <[email protected]>
Signed-off-by: Tim Gardner <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
5350d3ba3d4cee899fa0b95fc0d30202ac8073e7
Parents
9f56fad7

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/char/specialix.cmodified+1−0View file

drivers/char/specialix.c

View file
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);