summaryrefslogtreecommitdiffstats
path: root/drivers/char/hpet.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-06-13 19:37:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 16:43:08 -0700
commita151427ed086952cc28f1d5f1cda84c33e48e358 (patch)
tree55ebbc00fc8fcbc48036722f500fec99161f8eb2 /drivers/char/hpet.c
parentc36c5736be5cc638db7659093bf8c2c7f48c5000 (diff)
downloadlinux-a151427ed086952cc28f1d5f1cda84c33e48e358.tar.gz
linux-a151427ed086952cc28f1d5f1cda84c33e48e358.tar.bz2
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/hpet.c')
-rw-r--r--drivers/char/hpet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index d784650d14f0..448ce5e29c56 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -725,7 +725,7 @@ static int hpet_is_known(struct hpet_data *hdp)
return 0;
}
-static ctl_table hpet_table[] = {
+static struct ctl_table hpet_table[] = {
{
.procname = "max-user-freq",
.data = &hpet_max_freq,
@@ -736,7 +736,7 @@ static ctl_table hpet_table[] = {
{}
};
-static ctl_table hpet_root[] = {
+static struct ctl_table hpet_root[] = {
{
.procname = "hpet",
.maxlen = 0,
@@ -746,7 +746,7 @@ static ctl_table hpet_root[] = {
{}
};
-static ctl_table dev_root[] = {
+static struct ctl_table dev_root[] = {
{
.procname = "dev",
.maxlen = 0,