summaryrefslogtreecommitdiffstats
path: root/drivers/char/random.c
diff options
context:
space:
mode:
authorJoe Perches2013-06-14 04:37:35 +0200
committerGreg Kroah-Hartman2013-06-18 01:43:08 +0200
commita151427ed086952cc28f1d5f1cda84c33e48e358 (patch)
tree55ebbc00fc8fcbc48036722f500fec99161f8eb2 /drivers/char/random.c
parentvme: tsi148: Window reserved for accessing CR/CSR does not need attributes set (diff)
downloadkernel-qcow2-linux-a151427ed086952cc28f1d5f1cda84c33e48e358.tar.gz
kernel-qcow2-linux-a151427ed086952cc28f1d5f1cda84c33e48e358.tar.xz
kernel-qcow2-linux-a151427ed086952cc28f1d5f1cda84c33e48e358.zip
char: Convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r--drivers/char/random.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 35487e8ded59..0d91fe52f3f5 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1381,10 +1381,10 @@ static char sysctl_bootid[16];
* as an ASCII string in the standard UUID format. If accesses via the
* sysctl system call, it is returned as 16 bytes of binary data.
*/
-static int proc_do_uuid(ctl_table *table, int write,
+static int proc_do_uuid(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp, loff_t *ppos)
{
- ctl_table fake_table;
+ struct ctl_table fake_table;
unsigned char buf[64], tmp_uuid[16], *uuid;
uuid = table->data;
@@ -1409,8 +1409,8 @@ static int proc_do_uuid(ctl_table *table, int write,
}
static int sysctl_poolsize = INPUT_POOL_WORDS * 32;
-extern ctl_table random_table[];
-ctl_table random_table[] = {
+extern struct ctl_table random_table[];
+struct ctl_table random_table[] = {
{
.procname = "poolsize",
.data = &sysctl_poolsize,