提交 2841efa6 编写于 作者: J Joe Perches 提交者: Linus Torvalds

ia64: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 37649de2
......@@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data)
}
#ifdef CONFIG_SYSCTL
static ctl_table kdump_ctl_table[] = {
static struct ctl_table kdump_ctl_table[] = {
{
.procname = "kdump_on_init",
.data = &kdump_on_init,
......@@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = {
{ }
};
static ctl_table sys_table[] = {
static struct ctl_table sys_table[] = {
{
.procname = "kernel",
.mode = 0555,
......
......@@ -521,7 +521,7 @@ static pmu_config_t *pmu_conf;
pfm_sysctl_t pfm_sysctl;
EXPORT_SYMBOL(pfm_sysctl);
static ctl_table pfm_ctl_table[]={
static struct ctl_table pfm_ctl_table[] = {
{
.procname = "debug",
.data = &pfm_sysctl.debug,
......@@ -552,7 +552,7 @@ static ctl_table pfm_ctl_table[]={
},
{}
};
static ctl_table pfm_sysctl_dir[] = {
static struct ctl_table pfm_sysctl_dir[] = {
{
.procname = "perfmon",
.mode = 0555,
......@@ -560,7 +560,7 @@ static ctl_table pfm_sysctl_dir[] = {
},
{}
};
static ctl_table pfm_sysctl_root[] = {
static struct ctl_table pfm_sysctl_root[] = {
{
.procname = "kernel",
.mode = 0555,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册