diff options
Diffstat (limited to 'fs/autofs4/dev-ioctl.c')
-rw-r--r-- | fs/autofs4/dev-ioctl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c index d29b7f6df862..d832062869f6 100644 --- a/fs/autofs4/dev-ioctl.c +++ b/fs/autofs4/dev-ioctl.c | |||
@@ -736,11 +736,14 @@ static const struct file_operations _dev_ioctl_fops = { | |||
736 | }; | 736 | }; |
737 | 737 | ||
738 | static struct miscdevice _autofs_dev_ioctl_misc = { | 738 | static struct miscdevice _autofs_dev_ioctl_misc = { |
739 | .minor = MISC_DYNAMIC_MINOR, | 739 | .minor = AUTOFS_MINOR, |
740 | .name = AUTOFS_DEVICE_NAME, | 740 | .name = AUTOFS_DEVICE_NAME, |
741 | .fops = &_dev_ioctl_fops | 741 | .fops = &_dev_ioctl_fops |
742 | }; | 742 | }; |
743 | 743 | ||
744 | MODULE_ALIAS_MISCDEV(AUTOFS_MINOR); | ||
745 | MODULE_ALIAS("devname:autofs"); | ||
746 | |||
744 | /* Register/deregister misc character device */ | 747 | /* Register/deregister misc character device */ |
745 | int autofs_dev_ioctl_init(void) | 748 | int autofs_dev_ioctl_init(void) |
746 | { | 749 | { |