]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
random: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Thu, 24 Apr 2014 23:03:56 +0000 (09:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 29 Apr 2014 06:25:35 +0000 (16:25 +1000)
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/char/random.c

index 0a19d866a153f235363365dd221e162e1cdfa0ff..20f694157fcabecf1cbc3d6bff334d84f869ab1c 100644 (file)
@@ -1579,10 +1579,10 @@ static int proc_do_uuid(struct ctl_table *table, int write,
 /*
  * Return entropy available scaled to integral bits
  */
-static int proc_do_entropy(ctl_table *table, int write,
+static int proc_do_entropy(struct ctl_table *table, int write,
                           void __user *buffer, size_t *lenp, loff_t *ppos)
 {
-       ctl_table fake_table;
+       struct ctl_table fake_table;
        int entropy_count;
 
        entropy_count = *(int *)table->data >> ENTROPY_SHIFT;