diff options
| author | Joe Perches <joe@perches.com> | 2014-06-06 17:37:57 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:15 -0400 |
| commit | 90a3b89e00658b2c552762b5a0809ba823e99a4e (patch) | |
| tree | 05d48b4074d2ca09a3438fb12d60eeec724c6699 /drivers/cdrom | |
| parent | 804bcaf79b01e9632b9e405c94fe3ea252744eae (diff) | |
cdrom: 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/cdrom')
| -rw-r--r-- | drivers/cdrom/cdrom.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 49ac5662585b..2a44767891f5 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
| @@ -3470,7 +3470,7 @@ static int cdrom_print_info(const char *header, int val, char *info, | |||
| 3470 | return 0; | 3470 | return 0; |
| 3471 | } | 3471 | } |
| 3472 | 3472 | ||
| 3473 | static int cdrom_sysctl_info(ctl_table *ctl, int write, | 3473 | static int cdrom_sysctl_info(struct ctl_table *ctl, int write, |
| 3474 | void __user *buffer, size_t *lenp, loff_t *ppos) | 3474 | void __user *buffer, size_t *lenp, loff_t *ppos) |
| 3475 | { | 3475 | { |
| 3476 | int pos; | 3476 | int pos; |
| @@ -3583,7 +3583,7 @@ static void cdrom_update_settings(void) | |||
| 3583 | mutex_unlock(&cdrom_mutex); | 3583 | mutex_unlock(&cdrom_mutex); |
| 3584 | } | 3584 | } |
| 3585 | 3585 | ||
| 3586 | static int cdrom_sysctl_handler(ctl_table *ctl, int write, | 3586 | static int cdrom_sysctl_handler(struct ctl_table *ctl, int write, |
| 3587 | void __user *buffer, size_t *lenp, loff_t *ppos) | 3587 | void __user *buffer, size_t *lenp, loff_t *ppos) |
| 3588 | { | 3588 | { |
| 3589 | int ret; | 3589 | int ret; |
| @@ -3609,7 +3609,7 @@ static int cdrom_sysctl_handler(ctl_table *ctl, int write, | |||
| 3609 | } | 3609 | } |
| 3610 | 3610 | ||
| 3611 | /* Place files in /proc/sys/dev/cdrom */ | 3611 | /* Place files in /proc/sys/dev/cdrom */ |
| 3612 | static ctl_table cdrom_table[] = { | 3612 | static struct ctl_table cdrom_table[] = { |
| 3613 | { | 3613 | { |
| 3614 | .procname = "info", | 3614 | .procname = "info", |
| 3615 | .data = &cdrom_sysctl_settings.info, | 3615 | .data = &cdrom_sysctl_settings.info, |
| @@ -3655,7 +3655,7 @@ static ctl_table cdrom_table[] = { | |||
| 3655 | { } | 3655 | { } |
| 3656 | }; | 3656 | }; |
| 3657 | 3657 | ||
| 3658 | static ctl_table cdrom_cdrom_table[] = { | 3658 | static struct ctl_table cdrom_cdrom_table[] = { |
| 3659 | { | 3659 | { |
| 3660 | .procname = "cdrom", | 3660 | .procname = "cdrom", |
| 3661 | .maxlen = 0, | 3661 | .maxlen = 0, |
| @@ -3666,7 +3666,7 @@ static ctl_table cdrom_cdrom_table[] = { | |||
| 3666 | }; | 3666 | }; |
| 3667 | 3667 | ||
| 3668 | /* Make sure that /proc/sys/dev is there */ | 3668 | /* Make sure that /proc/sys/dev is there */ |
| 3669 | static ctl_table cdrom_root_table[] = { | 3669 | static struct ctl_table cdrom_root_table[] = { |
| 3670 | { | 3670 | { |
| 3671 | .procname = "dev", | 3671 | .procname = "dev", |
| 3672 | .maxlen = 0, | 3672 | .maxlen = 0, |
