summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_sysctl.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-06-07 01:37:59 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 03:08:16 +0400
commit592749e4d05fb6ea5ea75368aa6d2858cc0637c3 (patch)
tree7bc0f158e7ba2df9769ec790a9ce942370e5c16b /drivers/scsi/scsi_sysctl.c
parentbe424c63aafb58cf07be8037355304a17a07f842 (diff)
downloadlinux-592749e4d05fb6ea5ea75368aa6d2858cc0637c3.tar.xz
scsi: 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/scsi/scsi_sysctl.c')
-rw-r--r--drivers/scsi/scsi_sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_sysctl.c b/drivers/scsi/scsi_sysctl.c
index 2b6b93f7d8ef..546f16299ef9 100644
--- a/drivers/scsi/scsi_sysctl.c
+++ b/drivers/scsi/scsi_sysctl.c
@@ -12,7 +12,7 @@
#include "scsi_priv.h"
-static ctl_table scsi_table[] = {
+static struct ctl_table scsi_table[] = {
{ .procname = "logging_level",
.data = &scsi_logging_level,
.maxlen = sizeof(scsi_logging_level),
@@ -21,14 +21,14 @@ static ctl_table scsi_table[] = {
{ }
};
-static ctl_table scsi_dir_table[] = {
+static struct ctl_table scsi_dir_table[] = {
{ .procname = "scsi",
.mode = 0555,
.child = scsi_table },
{ }
};
-static ctl_table scsi_root_table[] = {
+static struct ctl_table scsi_root_table[] = {
{ .procname = "dev",
.mode = 0555,
.child = scsi_dir_table },