diff options
author | Joe Perches <joe@perches.com> | 2014-06-06 21:37:58 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 23:08:15 (GMT) |
commit | 5eb10d912ea0add5c15b0df1920ddd1681f0c9fb (patch) | |
tree | 6251b8b7bf5a94c8815563c5b221a081a63f0808 /drivers/char | |
parent | 90a3b89e00658b2c552762b5a0809ba823e99a4e (diff) | |
download | linux-5eb10d912ea0add5c15b0df1920ddd1681f0c9fb.tar.xz |
random: 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index 06cea7f..4ad71ef 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1582,10 +1582,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; |