From ee61ba11f047c7cb8b31eace4eb79268829e9991 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 9 Nov 2003 15:18:18 -0800 Subject: [PATCH] [PATCH] char dev request_module fix From: Rusty Russell Module aliases are all of form "char-major--". char_dev.c calls request_module with "char-major-". --- fs/char_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/char_dev.c b/fs/char_dev.c index 49e5484dfb6a1..5f4ab3ac12964 100644 --- a/fs/char_dev.c +++ b/fs/char_dev.c @@ -434,7 +434,7 @@ void cdev_init(struct cdev *cdev, struct file_operations *fops) static struct kobject *base_probe(dev_t dev, int *part, void *data) { - request_module("char-major-%d", MAJOR(dev)); + request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)); return NULL; } -- 2.53.0