diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hpet.c | 2 | ||||
-rw-r--r-- | drivers/char/ipmi/ipmi_poweroff.c | 2 | ||||
-rw-r--r-- | drivers/char/pty.c | 4 | ||||
-rw-r--r-- | drivers/char/random.c | 12 | ||||
-rw-r--r-- | drivers/char/rtc.c | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c index a05a6112240b..e481c5938bad 100644 --- a/drivers/char/hpet.c +++ b/drivers/char/hpet.c | |||
@@ -679,7 +679,7 @@ static ctl_table hpet_table[] = { | |||
679 | .data = &hpet_max_freq, | 679 | .data = &hpet_max_freq, |
680 | .maxlen = sizeof(int), | 680 | .maxlen = sizeof(int), |
681 | .mode = 0644, | 681 | .mode = 0644, |
682 | .proc_handler = &proc_dointvec, | 682 | .proc_handler = proc_dointvec, |
683 | }, | 683 | }, |
684 | {} | 684 | {} |
685 | }; | 685 | }; |
diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c index aa39722696dd..0dec5da000ef 100644 --- a/drivers/char/ipmi/ipmi_poweroff.c +++ b/drivers/char/ipmi/ipmi_poweroff.c | |||
@@ -664,7 +664,7 @@ static ctl_table ipmi_table[] = { | |||
664 | .data = &poweroff_powercycle, | 664 | .data = &poweroff_powercycle, |
665 | .maxlen = sizeof(poweroff_powercycle), | 665 | .maxlen = sizeof(poweroff_powercycle), |
666 | .mode = 0644, | 666 | .mode = 0644, |
667 | .proc_handler = &proc_dointvec }, | 667 | .proc_handler = proc_dointvec }, |
668 | { } | 668 | { } |
669 | }; | 669 | }; |
670 | 670 | ||
diff --git a/drivers/char/pty.c b/drivers/char/pty.c index d516e9ced3c2..d86c0bc05c1c 100644 --- a/drivers/char/pty.c +++ b/drivers/char/pty.c | |||
@@ -435,7 +435,7 @@ static struct ctl_table pty_table[] = { | |||
435 | .maxlen = sizeof(int), | 435 | .maxlen = sizeof(int), |
436 | .mode = 0644, | 436 | .mode = 0644, |
437 | .data = &pty_limit, | 437 | .data = &pty_limit, |
438 | .proc_handler = &proc_dointvec_minmax, | 438 | .proc_handler = proc_dointvec_minmax, |
439 | .extra1 = &pty_limit_min, | 439 | .extra1 = &pty_limit_min, |
440 | .extra2 = &pty_limit_max, | 440 | .extra2 = &pty_limit_max, |
441 | }, { | 441 | }, { |
@@ -443,7 +443,7 @@ static struct ctl_table pty_table[] = { | |||
443 | .maxlen = sizeof(int), | 443 | .maxlen = sizeof(int), |
444 | .mode = 0444, | 444 | .mode = 0444, |
445 | .data = &pty_count, | 445 | .data = &pty_count, |
446 | .proc_handler = &proc_dointvec, | 446 | .proc_handler = proc_dointvec, |
447 | }, | 447 | }, |
448 | {} | 448 | {} |
449 | }; | 449 | }; |
diff --git a/drivers/char/random.c b/drivers/char/random.c index bcf680f9ff58..dcd08635cf1b 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -1264,13 +1264,13 @@ ctl_table random_table[] = { | |||
1264 | .data = &sysctl_poolsize, | 1264 | .data = &sysctl_poolsize, |
1265 | .maxlen = sizeof(int), | 1265 | .maxlen = sizeof(int), |
1266 | .mode = 0444, | 1266 | .mode = 0444, |
1267 | .proc_handler = &proc_dointvec, | 1267 | .proc_handler = proc_dointvec, |
1268 | }, | 1268 | }, |
1269 | { | 1269 | { |
1270 | .procname = "entropy_avail", | 1270 | .procname = "entropy_avail", |
1271 | .maxlen = sizeof(int), | 1271 | .maxlen = sizeof(int), |
1272 | .mode = 0444, | 1272 | .mode = 0444, |
1273 | .proc_handler = &proc_dointvec, | 1273 | .proc_handler = proc_dointvec, |
1274 | .data = &input_pool.entropy_count, | 1274 | .data = &input_pool.entropy_count, |
1275 | }, | 1275 | }, |
1276 | { | 1276 | { |
@@ -1278,7 +1278,7 @@ ctl_table random_table[] = { | |||
1278 | .data = &random_read_wakeup_thresh, | 1278 | .data = &random_read_wakeup_thresh, |
1279 | .maxlen = sizeof(int), | 1279 | .maxlen = sizeof(int), |
1280 | .mode = 0644, | 1280 | .mode = 0644, |
1281 | .proc_handler = &proc_dointvec_minmax, | 1281 | .proc_handler = proc_dointvec_minmax, |
1282 | .extra1 = &min_read_thresh, | 1282 | .extra1 = &min_read_thresh, |
1283 | .extra2 = &max_read_thresh, | 1283 | .extra2 = &max_read_thresh, |
1284 | }, | 1284 | }, |
@@ -1287,7 +1287,7 @@ ctl_table random_table[] = { | |||
1287 | .data = &random_write_wakeup_thresh, | 1287 | .data = &random_write_wakeup_thresh, |
1288 | .maxlen = sizeof(int), | 1288 | .maxlen = sizeof(int), |
1289 | .mode = 0644, | 1289 | .mode = 0644, |
1290 | .proc_handler = &proc_dointvec_minmax, | 1290 | .proc_handler = proc_dointvec_minmax, |
1291 | .extra1 = &min_write_thresh, | 1291 | .extra1 = &min_write_thresh, |
1292 | .extra2 = &max_write_thresh, | 1292 | .extra2 = &max_write_thresh, |
1293 | }, | 1293 | }, |
@@ -1296,13 +1296,13 @@ ctl_table random_table[] = { | |||
1296 | .data = &sysctl_bootid, | 1296 | .data = &sysctl_bootid, |
1297 | .maxlen = 16, | 1297 | .maxlen = 16, |
1298 | .mode = 0444, | 1298 | .mode = 0444, |
1299 | .proc_handler = &proc_do_uuid, | 1299 | .proc_handler = proc_do_uuid, |
1300 | }, | 1300 | }, |
1301 | { | 1301 | { |
1302 | .procname = "uuid", | 1302 | .procname = "uuid", |
1303 | .maxlen = 16, | 1303 | .maxlen = 16, |
1304 | .mode = 0444, | 1304 | .mode = 0444, |
1305 | .proc_handler = &proc_do_uuid, | 1305 | .proc_handler = proc_do_uuid, |
1306 | }, | 1306 | }, |
1307 | { } | 1307 | { } |
1308 | }; | 1308 | }; |
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index 37bfe23c218e..95acb8c880f4 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c | |||
@@ -286,7 +286,7 @@ static ctl_table rtc_table[] = { | |||
286 | .data = &rtc_max_user_freq, | 286 | .data = &rtc_max_user_freq, |
287 | .maxlen = sizeof(int), | 287 | .maxlen = sizeof(int), |
288 | .mode = 0644, | 288 | .mode = 0644, |
289 | .proc_handler = &proc_dointvec, | 289 | .proc_handler = proc_dointvec, |
290 | }, | 290 | }, |
291 | { } | 291 | { } |
292 | }; | 292 | }; |