From 9f56fad741163fe2111cbbcfb7ff795ebdabdab1 Mon Sep 17 00:00:00 2001 From: Scott James Remnant Date: Mon, 6 Apr 2009 17:33:04 +0100 Subject: [PATCH] cyclades: Auto-load cyclades module when device opened. The cyclades module is missing the char-major-19-* 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 Signed-off-by: Tim Gardner Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- drivers/char/cyclades.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index 272db0e2b49..1fdb9f657d8 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c @@ -646,6 +646,7 @@ #include #include #include +#include #include #include @@ -5408,3 +5409,4 @@ module_exit(cy_cleanup_module); MODULE_LICENSE("GPL"); MODULE_VERSION(CY_VERSION); +MODULE_ALIAS_CHARDEV_MAJOR(CYCLADES_MAJOR); -- 2.41.1