diff options
Diffstat (limited to 'drivers/scsi/scsi_sysctl.c')
-rw-r--r-- | drivers/scsi/scsi_sysctl.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/scsi/scsi_sysctl.c b/drivers/scsi/scsi_sysctl.c index 63a30f566f3a..2b6b93f7d8ef 100644 --- a/drivers/scsi/scsi_sysctl.c +++ b/drivers/scsi/scsi_sysctl.c | |||
@@ -13,26 +13,23 @@ | |||
13 | 13 | ||
14 | 14 | ||
15 | static ctl_table scsi_table[] = { | 15 | static ctl_table scsi_table[] = { |
16 | { .ctl_name = DEV_SCSI_LOGGING_LEVEL, | 16 | { .procname = "logging_level", |
17 | .procname = "logging_level", | ||
18 | .data = &scsi_logging_level, | 17 | .data = &scsi_logging_level, |
19 | .maxlen = sizeof(scsi_logging_level), | 18 | .maxlen = sizeof(scsi_logging_level), |
20 | .mode = 0644, | 19 | .mode = 0644, |
21 | .proc_handler = &proc_dointvec }, | 20 | .proc_handler = proc_dointvec }, |
22 | { } | 21 | { } |
23 | }; | 22 | }; |
24 | 23 | ||
25 | static ctl_table scsi_dir_table[] = { | 24 | static ctl_table scsi_dir_table[] = { |
26 | { .ctl_name = DEV_SCSI, | 25 | { .procname = "scsi", |
27 | .procname = "scsi", | ||
28 | .mode = 0555, | 26 | .mode = 0555, |
29 | .child = scsi_table }, | 27 | .child = scsi_table }, |
30 | { } | 28 | { } |
31 | }; | 29 | }; |
32 | 30 | ||
33 | static ctl_table scsi_root_table[] = { | 31 | static ctl_table scsi_root_table[] = { |
34 | { .ctl_name = CTL_DEV, | 32 | { .procname = "dev", |
35 | .procname = "dev", | ||
36 | .mode = 0555, | 33 | .mode = 0555, |
37 | .child = scsi_dir_table }, | 34 | .child = scsi_dir_table }, |
38 | { } | 35 | { } |