diff options
Diffstat (limited to 'drivers/cdrom')
-rw-r--r-- | drivers/cdrom/cdrom.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 1872b6dc168a..e3749d0ba68b 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
@@ -3557,42 +3557,42 @@ static ctl_table cdrom_table[] = { | |||
3557 | .data = &cdrom_sysctl_settings.info, | 3557 | .data = &cdrom_sysctl_settings.info, |
3558 | .maxlen = CDROM_STR_SIZE, | 3558 | .maxlen = CDROM_STR_SIZE, |
3559 | .mode = 0444, | 3559 | .mode = 0444, |
3560 | .proc_handler = &cdrom_sysctl_info, | 3560 | .proc_handler = cdrom_sysctl_info, |
3561 | }, | 3561 | }, |
3562 | { | 3562 | { |
3563 | .procname = "autoclose", | 3563 | .procname = "autoclose", |
3564 | .data = &cdrom_sysctl_settings.autoclose, | 3564 | .data = &cdrom_sysctl_settings.autoclose, |
3565 | .maxlen = sizeof(int), | 3565 | .maxlen = sizeof(int), |
3566 | .mode = 0644, | 3566 | .mode = 0644, |
3567 | .proc_handler = &cdrom_sysctl_handler, | 3567 | .proc_handler = cdrom_sysctl_handler, |
3568 | }, | 3568 | }, |
3569 | { | 3569 | { |
3570 | .procname = "autoeject", | 3570 | .procname = "autoeject", |
3571 | .data = &cdrom_sysctl_settings.autoeject, | 3571 | .data = &cdrom_sysctl_settings.autoeject, |
3572 | .maxlen = sizeof(int), | 3572 | .maxlen = sizeof(int), |
3573 | .mode = 0644, | 3573 | .mode = 0644, |
3574 | .proc_handler = &cdrom_sysctl_handler, | 3574 | .proc_handler = cdrom_sysctl_handler, |
3575 | }, | 3575 | }, |
3576 | { | 3576 | { |
3577 | .procname = "debug", | 3577 | .procname = "debug", |
3578 | .data = &cdrom_sysctl_settings.debug, | 3578 | .data = &cdrom_sysctl_settings.debug, |
3579 | .maxlen = sizeof(int), | 3579 | .maxlen = sizeof(int), |
3580 | .mode = 0644, | 3580 | .mode = 0644, |
3581 | .proc_handler = &cdrom_sysctl_handler, | 3581 | .proc_handler = cdrom_sysctl_handler, |
3582 | }, | 3582 | }, |
3583 | { | 3583 | { |
3584 | .procname = "lock", | 3584 | .procname = "lock", |
3585 | .data = &cdrom_sysctl_settings.lock, | 3585 | .data = &cdrom_sysctl_settings.lock, |
3586 | .maxlen = sizeof(int), | 3586 | .maxlen = sizeof(int), |
3587 | .mode = 0644, | 3587 | .mode = 0644, |
3588 | .proc_handler = &cdrom_sysctl_handler, | 3588 | .proc_handler = cdrom_sysctl_handler, |
3589 | }, | 3589 | }, |
3590 | { | 3590 | { |
3591 | .procname = "check_media", | 3591 | .procname = "check_media", |
3592 | .data = &cdrom_sysctl_settings.check, | 3592 | .data = &cdrom_sysctl_settings.check, |
3593 | .maxlen = sizeof(int), | 3593 | .maxlen = sizeof(int), |
3594 | .mode = 0644, | 3594 | .mode = 0644, |
3595 | .proc_handler = &cdrom_sysctl_handler | 3595 | .proc_handler = cdrom_sysctl_handler |
3596 | }, | 3596 | }, |
3597 | { } | 3597 | { } |
3598 | }; | 3598 | }; |